/PHP-5.5/win32/ |
H A D | time.c | 150 int timeout = value->it_value.tv_sec * 1000 + value->it_value.tv_usec; 155 if (timeout > 0) { 164 realtimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat); 168 virttimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat); 172 proftimer = timeSetEvent(timeout, 100, (LPTIMECALLBACK) setitimer_timeout, (UINT) msg, repeat);
|
/PHP-5.5/tests/func/ |
H A D | 005a.phpt | 2 Testing register_shutdown_function() with timeout. (Bug: #21513)
|
/PHP-5.5/ |
H A D | server-tests.php | 242 public $timeout = 4; variable in HTTPRequest 286 $this->timeout = (int)$this->options['timeout'];
|
H A D | run-tests.php | 1097 $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60); 1105 $n = @stream_select($r, $w, $e, $timeout);
|
H A D | php.ini-development | 818 ; Default timeout for socket based streams (seconds) 819 ; http://php.net/default-socket-timeout 1144 ; Maximum time (in seconds) for connect timeout. -1 means no limit 1145 ; http://php.net/mysql.connect-timeout 1241 ; http://php.net/oci8.persistent-timeout 1328 ; Set per-context timeout 1329 ; http://php.net/sybct.timeout 1330 ;sybct.timeout= 1615 ; Connect timeout 1618 ; Query timeout [all …]
|
H A D | php.ini-production | 818 ; Default timeout for socket based streams (seconds) 819 ; http://php.net/default-socket-timeout 1144 ; Maximum time (in seconds) for connect timeout. -1 means no limit 1145 ; http://php.net/mysql.connect-timeout 1241 ; http://php.net/oci8.persistent-timeout 1328 ; Set per-context timeout 1329 ; http://php.net/sybct.timeout 1330 ;sybct.timeout= 1615 ; Connect timeout 1618 ; Query timeout [all …]
|
/PHP-5.5/sapi/thttpd/ |
H A D | thttpd_patch | 1908 + ** to read timeout 2076 ** or EOF ends things, otherwise we go until a timeout.
|
/PHP-5.5/sapi/litespeed/ |
H A D | lsapilib.c | 2722 struct timeval timeout; in lsapi_prefork_server_accept() local 2783 timeout.tv_sec = 1; timeout.tv_usec = 0; in lsapi_prefork_server_accept() 2784 if ((ret = (*g_fnSelect)(pServer->m_fd+1, &readfds, NULL, NULL, &timeout)) == 1 ) in lsapi_prefork_server_accept() 2900 struct timeval timeout; in LSAPI_Prefork_Accept_r() local 2941 timeout.tv_sec = 1; in LSAPI_Prefork_Accept_r() 2942 timeout.tv_usec = 0; in LSAPI_Prefork_Accept_r() 2943 ret = (*g_fnSelect)(fd+1, &readfds, NULL, NULL, &timeout); in LSAPI_Prefork_Accept_r()
|
/PHP-5.5/sapi/milter/ |
H A D | php_milter.c | 597 long timeout; in PHP_FUNCTION() local 602 } else if (zend_parse_parameters(1 TSRMLS_CC, "l", &timeout) == SUCCESS) { in PHP_FUNCTION() 603 smfi_settimeout(timeout); in PHP_FUNCTION() 792 ZEND_ARG_INFO(0, timeout)
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_process_ctl.c | 175 int sig, timeout; in fpm_pctl_action_next() local 187 timeout = fpm_global_config.process_control_timeout; in fpm_pctl_action_next() 194 timeout = 1; in fpm_pctl_action_next() 199 fpm_pctl_timeout_set(timeout); in fpm_pctl_action_next()
|
H A D | fpm_events.c | 36 #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); 379 unsigned long int timeout; in fpm_event_loop() local 394 ms = q->ev->timeout; in fpm_event_loop() 396 if (timercmp(&q->ev->timeout, &ms, <)) { in fpm_event_loop() 397 ms = q->ev->timeout; in fpm_event_loop() 405 timeout = 1000; in fpm_event_loop() 408 timeout = (tmp.tv_sec * 1000) + (tmp.tv_usec / 1000) + 1; in fpm_event_loop() 411 ret = module->wait(fpm_event_queue_fd, timeout); in fpm_event_loop() 427 if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { in fpm_event_loop()
|
H A D | fpm_events.h | 17 struct timeval timeout; /* next time to trigger */ member 37 int (*wait)(struct fpm_event_queue_s *queue, unsigned long int timeout); 46 int fpm_event_add(struct fpm_event_s *ev, unsigned long int timeout);
|
/PHP-5.5/sapi/fpm/ |
H A D | php-fpm.conf.in | 438 ; The timeout for serving a single request after which a PHP backtrace will be 444 ; The timeout for serving a single request after which the worker process will
|
/PHP-5.5/sapi/fpm/fpm/events/ |
H A D | devpoll.c | 37 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 148 static int fpm_event_devpoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{… in fpm_event_devpoll_wait() argument 157 dopoll.dp_timeout = (int)timeout; in fpm_event_devpoll_wait()
|
H A D | epoll.c | 33 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 120 static int fpm_event_epoll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ … in fpm_event_epoll_wait() argument 128 ret = epoll_wait(epollfd, epollfds, nepollfds, timeout); in fpm_event_epoll_wait()
|
H A D | kqueue.c | 36 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 119 static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_kqueue_wait() argument 128 t.tv_sec = timeout / 1000; in fpm_event_kqueue_wait() 129 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
|
H A D | poll.c | 34 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 133 static int fpm_event_poll_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_poll_wait() argument 144 ret = poll(active_pollfds, npollfds, timeout); in fpm_event_poll_wait()
|
H A D | port.c | 34 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 117 static int fpm_event_port_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{ */ in fpm_event_port_wait() argument 123 t.tv_sec = (int)(timeout / 1000); in fpm_event_port_wait() 124 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_port_wait()
|
H A D | select.c | 39 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout); 86 static int fpm_event_select_wait(struct fpm_event_queue_s *queue, unsigned long int timeout) /* {{{… in fpm_event_select_wait() argument 97 t.tv_sec = timeout / 1000; in fpm_event_select_wait() 98 t.tv_usec = (timeout % 1000) * 1000; in fpm_event_select_wait()
|
/PHP-5.5/sapi/apache_hooks/ |
H A D | php_apache.c | 1626 …snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->k… in PHP_MINFO_FUNCTION()
|
/PHP-5.5/sapi/apache/ |
H A D | php_apache.c | 215 …snprintf(output_buf, sizeof(output_buf), "Connection: %d - Keep-Alive: %d", serv->timeout, serv->k… in PHP_MINFO_FUNCTION()
|
/PHP-5.5/sapi/apache2handler/ |
H A D | php_functions.c | 424 apr_time_sec(serv->timeout), apr_time_sec(serv->keep_alive_timeout)); in PHP_MINFO_FUNCTION()
|
/PHP-5.5/main/streams/ |
H A D | transports.c | 54 struct timeval *timeout, in _php_stream_xport_create() argument 69 if (timeout == NULL) { in _php_stream_xport_create() 70 timeout = &default_timeout; in _php_stream_xport_create() 133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create() 145 timeout, &error_text, error_code TSRMLS_CC)) { in _php_stream_xport_create() 227 struct timeval *timeout, in php_stream_xport_connect() argument 239 param.inputs.timeout = timeout; in php_stream_xport_connect() 287 struct timeval *timeout, in php_stream_xport_accept() argument 297 param.inputs.timeout = timeout; in php_stream_xport_accept()
|
H A D | xp_socket.c | 64 if (sock->timeout.tv_sec == -1) in php_sockop_write() 67 ptimeout = &sock->timeout; in php_sockop_write() 125 if (sock->timeout.tv_sec == -1) in php_sock_stream_wait_for_data() 128 ptimeout = &sock->timeout; in php_sock_stream_wait_for_data() 282 if (sock->timeout.tv_sec == -1) { in php_sockop_set_option() 286 tv = sock->timeout; in php_sockop_set_option() 312 sock->timeout = *(struct timeval*)ptrparam; in php_sockop_set_option() 675 xparam->inputs.timeout, in php_tcp_sockop_connect() 716 xparam->inputs.timeout, in php_tcp_sockop_accept() 781 struct timeval *timeout, in php_stream_generic_socket_factory() argument [all …]
|
H A D | php_stream_transport.h | 32 struct timeval *timeout, 51 struct timeval *timeout, 57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument 58 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco… 70 struct timeval *timeout, 86 struct timeval *timeout, 146 struct timeval *timeout; member
|