Home
last modified time | relevance | path

Searched refs:protocol (Results 1 – 25 of 70) sorted by last modified time

123

/PHP-5.5/win32/
H A Dsockets.c31 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument
45 sock[0] = socket(domain, type, protocol); in socketpair()
66 sock[1] = socket(domain, type, protocol); in socketpair()
H A Dsockets.h26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
/PHP-5.5/sapi/thttpd/
H A Dthttpd.c322 CONDADD(SERVER_PROTOCOL, protocol); in sapi_thttpd_register_variables()
H A Dthttpd_patch276 - hc->protocol, status, title, EXPOSED_SERVER_SOFTWARE, fixed_type,
448 + hc->protocol = "UNKNOWN";
536 - hc->protocol = "UNKNOWN";
594 eol = strpbrk( protocol, " \t\n\r" );
597 - if ( strcasecmp( protocol, "HTTP/1.0" ) != 0 )
598 + if ( strcasecmp( protocol, "HTTP/1.0" ) != 0 ) {
892 - httpd_method_str( hc->method ), url, hc->protocol,
900 - httpd_method_str( hc->method ), url, hc->protocol,
924 + smart_str_appends(&bentries, hc->protocol);
1774 + FIXUP(protocol);
/PHP-5.5/sapi/webjames/
H A Dwebjames.c125 ADD_FIELD("SERVER_PROTOCOL", protocol); in sapi_webjames_register_variables()
/PHP-5.5/sapi/apache_hooks/
H A Dphp_apache.c378 apache_request_read_string_slot(offsetof(request_rec, protocol), INTERNAL_FUNCTION_PARAM_PASSTHRU); in PHP_FUNCTION()
1304 PHP_FALIAS(protocol, apache_request_protocol, NULL)
H A DREADME88 protocol
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c512 if (strcmp(r->protocol, "INCLUDED")) { in php_apache_ini_dtor()
552 if (ctx == NULL || (ctx && ctx->request_processed && !strcmp(r->protocol, "INCLUDED"))) { in php_handler()
640 …&& parent_req->status != HTTP_OK && parent_req->status != 413 && strcmp(r->protocol, "INCLUDED")) { in php_handler()
/PHP-5.5/main/streams/
H A Dstreams.c1694 protocol[i] != '+' && in php_stream_wrapper_scheme_validate()
1695 protocol[i] != '-' && in php_stream_wrapper_scheme_validate()
1696 protocol[i] != '.') { in php_stream_wrapper_scheme_validate()
1718 return zend_hash_del(&url_stream_wrappers_hash, protocol, strlen(protocol) + 1); in php_unregister_url_stream_wrapper()
1752 return zend_hash_del(FG(stream_wrappers), protocol, strlen(protocol) + 1); in php_unregister_url_stream_wrapper_volatile()
1777 protocol = path;
1780 protocol = "compress.zlib";
1785 if (protocol) {
1800 protocol = NULL;
1806 if (!protocol || !strncasecmp(protocol, "file", n)) {
[all …]
H A Dtransports.c32 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC) in php_stream_xport_register() argument
34 …return zend_hash_update(&xport_hash, protocol, strlen(protocol) + 1, &factory, sizeof(factory), NU… in php_stream_xport_register()
37 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC) in php_stream_xport_unregister()
39 return zend_hash_del(&xport_hash, protocol, strlen(protocol) + 1); in php_stream_xport_unregister()
62 const char *p, *protocol = NULL; in _php_stream_xport_create() local
100 protocol = name; in _php_stream_xport_create()
104 protocol = "tcp"; in _php_stream_xport_create()
108 if (protocol) { in _php_stream_xport_create()
109 char *tmp = estrndup(protocol, n); in _php_stream_xport_create()
115 PHP_STRLCPY(wrapper_name, protocol, sizeof(wrapper_name), n); in _php_stream_xport_create()
[all …]
H A Duserspace.c520 char *protocol, *classname; in PHP_FUNCTION() local
531 uwrap->protoname = estrndup(protocol, protocol_len); in PHP_FUNCTION()
541 if (php_register_url_stream_wrapper_volatile(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) { in PHP_FUNCTION()
545 if (zend_hash_exists(php_stream_get_url_stream_wrappers_hash(), protocol, protocol_len + 1)) { in PHP_FUNCTION()
546 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Protocol %s:// is already defined.", protocol); in PHP_FUNCTION()
565 char *protocol; in PHP_FUNCTION() local
572 if (php_unregister_url_stream_wrapper_volatile(protocol TSRMLS_CC) == FAILURE) { in PHP_FUNCTION()
574 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unable to unregister protocol %s://", protocol); in PHP_FUNCTION()
586 char *protocol; in PHP_FUNCTION() local
610 php_unregister_url_stream_wrapper_volatile(protocol TSRMLS_CC); in PHP_FUNCTION()
[all …]
H A Dphp_stream_transport.h37 PHPAPI int php_stream_xport_register(char *protocol, php_stream_transport_factory factory TSRMLS_DC…
38 PHPAPI int php_stream_xport_unregister(char *protocol TSRMLS_DC);
/PHP-5.5/main/
H A Dphp_streams.h547 PHPAPI int php_register_url_stream_wrapper(char *protocol, php_stream_wrapper *wrapper TSRMLS_DC);
548 PHPAPI int php_unregister_url_stream_wrapper(char *protocol TSRMLS_DC);
549 PHPAPI int php_register_url_stream_wrapper_volatile(char *protocol, php_stream_wrapper *wrapper TSR…
550 PHPAPI int php_unregister_url_stream_wrapper_volatile(char *protocol TSRMLS_DC);
/PHP-5.5/ext/standard/tests/network/
H A Dbug20134.phpt9 * a connection-LESS protocol */
H A Dfsockopen_error.phpt38 echo "\n-- Attempting to connect using an invalid protocol --\n";
70 -- Attempting to connect using an invalid protocol --
/PHP-5.5/ext/standard/tests/general_functions/
H A Dgetservbyname_variation6.phpt9 $protocol = "tcp";
30 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyport_error.phpt11 $protocol = "tcp";
13 var_dump(getservbyport( $port, $protocol, $extra_arg ) );
H A Dgetservbyport_variation1.phpt4 Test function passing invalid port number and invalid protocol name
H A Dgetservbyname_variation5.phpt9 $protocol = "tcp";
21 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation7.phpt9 $protocol = "tcp";
25 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation2.phpt9 $protocol = "tcp";
21 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation3.phpt9 $protocol = "tcp";
26 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_variation4.phpt9 $protocol = "tcp";
22 var_dump(getservbyname( $var , $protocol ) );
H A Dgetservbyname_error.phpt11 $protocol = "tcp";
13 var_dump(getservbyname($service, $protocol, $extra_arg ) );
H A Dgetservbyname_variation1.phpt9 $protocol = "tcp";
24 var_dump(getservbyname( $var , $protocol ) );

Completed in 62 milliseconds

123