Home
last modified time | relevance | path

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

/php-src/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-src/ext/sockets/tests/
H A Dsocket_meminfo.phpt67 ["backlog"]=>
/php-src/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-src/ext/sockets/
H A Dsockets.stub.php1969 function socket_create_listen(int $port, int $backlog = SOMAXCONN): Socket|false {} argument
1977 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) {
671 zend_long port, backlog = SOMAXCONN; local
676 Z_PARAM_LONG(backlog)
682 if (!php_open_listen_sock(php_sock, port, backlog)) {
796 zend_long backlog = 0; local
801 Z_PARAM_LONG(backlog)
807 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-src/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-src/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-src/sapi/fpm/
H A Dwww.conf.in43 ; Set listen(2) backlog.
45 ;listen.backlog = 511
169 ; connections (see backlog in listen(2));

Completed in 111 milliseconds