Home
last modified time | relevance | path

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

/PHP-8.0/main/streams/
H A Dtransports.c161 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 Dphp_stream_transport.h74 int backlog,
147 int backlog; member
H A Dxp_socket.c381 xparam->outputs.returncode = (listen(sock->socket, xparam->inputs.backlog) == 0) ? 0: -1; in php_sockop_set_option()
/PHP-8.0/ext/sockets/
H A Dsockets.stub.php15 function socket_create_listen(int $port, int $backlog = 128): Socket|false {} argument
23 function socket_listen(Socket $socket, int $backlog = 0): bool {} argument
H A Dsockets_arginfo.h14 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 Dsockets.c226 static int php_open_listen_sock(php_socket *sock, int port, int backlog) /* {{{ */ argument
259 if (listen(sock->bsd_socket, backlog) != 0) {
805 zend_long port, backlog = 128; local
807 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &port, &backlog) == FAILURE) {
814 if (!php_open_listen_sock(php_sock, port, backlog)) {
928 zend_long backlog = 0; local
930 if (zend_parse_parameters(ZEND_NUM_ARGS(), "O|l", &arg1, socket_ce, &backlog) == FAILURE) {
937 if (listen(php_sock->bsd_socket, backlog) != 0) {
/PHP-8.0/main/
H A Dfastcgi.h93 int fcgi_listen(const char *path, int backlog);
H A Dfastcgi.c649 int fcgi_listen(const char *path, int backlog) in fcgi_listen() argument
762 listen(listen_socket, backlog) < 0) { in fcgi_listen()
/PHP-8.0/sapi/litespeed/
H A Dlsapilib.h358 int LSAPI_CreateListenSock( const char * pBind, int backlog );
H A Dlsapilib.c2570 int LSAPI_CreateListenSock2( const struct sockaddr * pServerAddr, int backlog ) in LSAPI_CreateListenSock2() argument
2605 ret = listen( fd, backlog ); in LSAPI_CreateListenSock2()
2717 int LSAPI_CreateListenSock( const char * pBind, int backlog ) in LSAPI_CreateListenSock() argument
2725 fd = LSAPI_CreateListenSock2( (struct sockaddr *)serverAddr, backlog ); in LSAPI_CreateListenSock()
/PHP-8.0/sapi/fpm/
H A Dwww.conf.in38 ; Set listen(2) backlog.
40 ;listen.backlog = 511
150 ; connections (see backlog in listen(2));
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c1946 int backlog = 128; local
1948 backlog = atoi(getenv("PHP_FCGI_BACKLOG"));
1950 fcgi_fd = fcgi_listen(bindpath, backlog);

Completed in 43 milliseconds