Searched refs:clisockdata (Results 1 – 2 of 2) sorted by relevance
/php-src/main/streams/ |
H A D | xp_socket.c | 879 php_netstream_data_t *clisockdata = (php_netstream_data_t*) emalloc(sizeof(*clisockdata)); in php_tcp_sockop_accept() local 881 memcpy(clisockdata, sock, sizeof(*clisockdata)); in php_tcp_sockop_accept() 882 clisockdata->socket = clisock; in php_tcp_sockop_accept() 885 clisockdata->is_blocked = 1; in php_tcp_sockop_accept() 888 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_tcp_sockop_accept()
|
/php-src/ext/openssl/ |
H A D | xp_ssl.c | 2346 …php_openssl_netstream_data_t *clisockdata = (php_openssl_netstream_data_t*) emalloc(sizeof(*clisoc… in php_openssl_tcp_sockop_accept() local 2349 memset(clisockdata, 0, sizeof(*clisockdata)); in php_openssl_tcp_sockop_accept() 2350 memcpy(clisockdata, sock, sizeof(clisockdata->s)); in php_openssl_tcp_sockop_accept() 2352 clisockdata->s.socket = clisock; in php_openssl_tcp_sockop_accept() 2355 clisockdata->s.is_blocked = 1; in php_openssl_tcp_sockop_accept() 2358 xparam->outputs.client = php_stream_alloc_rel(stream->ops, clisockdata, NULL, "r+"); in php_openssl_tcp_sockop_accept() 2370 clisockdata->method = sock->method; in php_openssl_tcp_sockop_accept() 2372 if (php_stream_xport_crypto_setup(xparam->outputs.client, clisockdata->method, in php_openssl_tcp_sockop_accept()
|
Completed in 15 milliseconds