Home
last modified time | relevance | path

Searched refs:backlog (Results 1 – 15 of 15) sorted by relevance

/PHP-8.4/main/streams/
H A Dtransports.c163 int backlog = 32; in _php_stream_xport_create() local
166 backlog = zval_get_long(zbacklog); in _php_stream_xport_create()
169 if (0 != php_stream_xport_listen(stream, backlog, &error_text)) { in _php_stream_xport_create()
265 PHPAPI int php_stream_xport_listen(php_stream *stream, int backlog, zend_string **error_text) in php_stream_xport_listen() argument
272 param.inputs.backlog = backlog; in php_stream_xport_listen()
H A Dphp_stream_transport.h74 int backlog,
147 int backlog; member
H A Dxp_socket.c416 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1; in php_sockop_set_option()
/PHP-8.4/ext/sockets/tests/
H A Dsocket_meminfo.phpt67 ["backlog"]=>
/PHP-8.4/main/
H A Dfastcgi.h93 int fcgi_listen(const char *path, int backlog);
H A Dfastcgi.c642 int fcgi_listen(const char *path, int backlog) in fcgi_listen() argument
754 listen(listen_socket, backlog) < 0) { in fcgi_listen()
/PHP-8.4/ext/sockets/
H A Dsockets.stub.php1948 function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {} argument
1956 function socket_listen(Socket $socket, int $backlog = 0): bool {} argument
H A Dsockets.c220 static bool php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */
253 if (listen(sock->bsd_socket, backlog) != 0) {
675 zend_long port, backlog = SOMAXCONN; local
680 Z_PARAM_LONG(backlog)
686 if (!php_open_listen_sock(php_sock, port, backlog)) {
800 zend_long backlog = 0; local
805 Z_PARAM_LONG(backlog)
811 if (listen(php_sock->bsd_socket, backlog) != 0) {
H A Dsockets_arginfo.h14 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, backlog, IS_LONG, 0, "SOMAXCONN")
29 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, backlog, IS_LONG, 0, "0")
/PHP-8.4/sapi/cgi/
H A Dcgi_main.c1934 int backlog = MIN(SOMAXCONN, 128); local
1936 backlog = atoi(getenv("PHP_FCGI_BACKLOG"));
1938 if (backlog < -1 || backlog > SOMAXCONN) {
1939 fprintf(stderr, "Invalid backlog %d, needs to be between -1 and %d\n", backlog, SOMAXCONN);
1945 fcgi_fd = fcgi_listen(bindpath, backlog);
/PHP-8.4/sapi/litespeed/
H A Dlsapilib.h358 int LSAPI_CreateListenSock( const char * pBind, int backlog );
H A Dlsapilib.c2585 int LSAPI_CreateListenSock2( const struct sockaddr * pServerAddr, int backlog ) in LSAPI_CreateListenSock2() argument
2620 ret = listen( fd, backlog ); in LSAPI_CreateListenSock2()
2731 int LSAPI_CreateListenSock( const char * pBind, int backlog ) in LSAPI_CreateListenSock() argument
2739 fd = LSAPI_CreateListenSock2( (struct sockaddr *)serverAddr, backlog ); in LSAPI_CreateListenSock()
/PHP-8.4/sapi/fpm/
H A Dwww.conf.in43 ; Set listen(2) backlog.
45 ;listen.backlog = 511
169 ; connections (see backlog in listen(2));
/PHP-8.4/
H A DNEWS704 . Updated the socket_create_listen backlog argument default value to SOMAXCONN.
H A DUPGRADING718 . Parameter $backlog of socket_create_listen() now has a default value of SOMAXCONN.

Completed in 60 milliseconds