Searched refs:backlog (Results 1 – 12 of 12) sorted by relevance
/PHP-8.1/main/streams/ |
H A D | transports.c | 161 int backlog = 32; in _php_stream_xport_create() local 164 backlog = zval_get_long(zbacklog); in _php_stream_xport_create() 167 if (0 != php_stream_xport_listen(stream, backlog, &error_text)) { in _php_stream_xport_create() 260 PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) in php_stream_xport_listen() argument 267 param.inputs.backlog = backlog; in php_stream_xport_listen()
|
H A D | php_stream_transport.h | 74 int backlog, 147 int backlog; member
|
H A D | xp_socket.c | 382 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1; in php_sockop_set_option()
|
/PHP-8.1/ext/sockets/ |
H A D | sockets.stub.php | 23 function socket_create_listen(int $port, int $backlog = 128): Socket|false {} argument 31 function socket_listen(Socket $socket, int $backlog = 0): bool {} argument
|
H A D | sockets_arginfo.h | 14 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, backlog, IS_LONG, 0, "128") 29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, backlog, IS_LONG, 0, "0")
|
H A D | sockets.c | 227 static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */ argument 260 if (listen(sock->bsd_socket, backlog) != 0) { 811 zend_long port, backlog = 128; local 813 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &port, &backlog) == FAILURE) { 820 if (!php_open_listen_sock(php_sock, port, backlog)) { 934 zend_long backlog = 0; local 936 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|l", &arg1, socket_ce, &backlog) == FAILURE) { 943 if (listen(php_sock->bsd_socket, backlog) != 0) {
|
/PHP-8.1/main/ |
H A D | fastcgi.h | 93 int fcgi_listen(const char *path, int backlog);
|
H A D | fastcgi.c | 644 int fcgi_listen(const char *path, int backlog) argument 761 listen(listen_socket, backlog) < 0) {
|
/PHP-8.1/sapi/litespeed/ |
H A D | lsapilib.h | 358 int LSAPI_CreateListenSock( const char * pBind, int backlog );
|
H A D | lsapilib.c | 2614 int LSAPI_CreateListenSock2( const struct sockaddr * pServerAddr, int backlog ) in LSAPI_CreateListenSock2() argument 2649 ret = listen( fd, backlog ); in LSAPI_CreateListenSock2() 2765 int LSAPI_CreateListenSock( const char * pBind, int backlog ) in LSAPI_CreateListenSock() argument 2773 fd = LSAPI_CreateListenSock2( (struct sockaddr *)serverAddr, backlog ); in LSAPI_CreateListenSock()
|
/PHP-8.1/sapi/fpm/ |
H A D | www.conf.in | 43 ; Set listen(2) backlog. 45 ;listen.backlog = 511 164 ; connections (see backlog in listen(2));
|
/PHP-8.1/sapi/cgi/ |
H A D | cgi_main.c | 1956 int backlog = 128; local 1958 backlog = atoi(getenv("PHP_FCGI_BACKLOG")); 1960 fcgi_fd = fcgi_listen(bindpath, backlog);
|
Completed in 46 milliseconds