Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ext/curl/curl_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ typedef struct {
zval private_data;
/* CurlShareHandle object set using CURLOPT_SHARE. */
struct _php_curlsh *share;
/* Socket/timer state during curl_exec (NULL outside exec) */
HashTable *io_sockets; /* curl_socket_t -> int events */
long io_timer_ms; /* timer value from TIMERFUNCTION, -1 = disabled */
zend_object std;
} php_curl;

Expand Down
14 changes: 14 additions & 0 deletions ext/curl/curl_socket_handle.stub.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

/** @generate-class-entries */

namespace Io\Curl {

use Io\Poll\Handle;

/**
* @strict-properties
* @not-serializable
*/
final class SocketHandle implements Handle {}
}
13 changes: 13 additions & 0 deletions ext/curl/curl_socket_handle_arginfo.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading