Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 97) sorted by last modified time

1234

/PHP-5.5/win32/
H A Dtime.c150 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 D005a.phpt2 Testing register_shutdown_function() with timeout. (Bug: #21513)
/PHP-5.5/
H A Dserver-tests.php242 public $timeout = 4; variable in HTTPRequest
286 $this->timeout = (int)$this->options['timeout'];
H A Drun-tests.php1097 $timeout = $leak_check ? 300 : (isset($env['TEST_TIMEOUT']) ? $env['TEST_TIMEOUT'] : 60);
1105 $n = @stream_select($r, $w, $e, $timeout);
H A Dphp.ini-development818 ; 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 Dphp.ini-production818 ; 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 Dthttpd_patch1908 + ** to read timeout
2076 ** or EOF ends things, otherwise we go until a timeout.
/PHP-5.5/sapi/litespeed/
H A Dlsapilib.c2722 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 Dphp_milter.c597 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 Dfpm_process_ctl.c175 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 Dfpm_events.c36 #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 Dfpm_events.h17 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 Dphp-fpm.conf.in438 ; 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 Ddevpoll.c37 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 Depoll.c33 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 Dkqueue.c36 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 Dpoll.c34 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 Dport.c34 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 Dselect.c39 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 Dphp_apache.c1626 …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 Dphp_apache.c215 …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 Dphp_functions.c424 apr_time_sec(serv->timeout), apr_time_sec(serv->keep_alive_timeout)); in PHP_MINFO_FUNCTION()
/PHP-5.5/main/streams/
H A Dtransports.c54 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 Dxp_socket.c64 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 Dphp_stream_transport.h32 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

Completed in 88 milliseconds

1234