Searched refs:h2_session (Results 1 – 9 of 9) sorted by relevance
| /openbsd/src/usr.sbin/unbound/testcode/ |
| D | dohclient.c | 145 submit_query(struct http2_session* h2_session, struct sldns_buffer* buf) in submit_query() argument 161 if(h2_session->post) { in submit_query() 164 h2_stream->path = (char*)h2_session->endpoint; in submit_query() 173 h2_session->endpoint)+strlen("?dns=")+qb64_size+1); in submit_query() 175 snprintf(h2_stream->path, strlen(h2_session->endpoint)+ in submit_query() 177 h2_session->endpoint, qb64); in submit_query() 182 if(h2_session->post) in submit_query() 189 if(h2_session->ssl) in submit_query() 194 headers[3].value = (uint8_t*)h2_session->authority; in submit_query() 196 headers[4].value = (uint8_t*)h2_session->content_type; in submit_query() [all …]
|
| /openbsd/src/sbin/unwind/libunbound/services/ |
| D | listen_dnsport.c | 2420 struct http2_session* h2_session = source->ptr; in http2_submit_response_read_callback() local 2423 h2_session->session, stream_id))) { in http2_submit_response_read_callback() 2463 static int http2_submit_rst_stream(struct http2_session* h2_session, in http2_submit_rst_stream() argument 2466 int ret = nghttp2_submit_rst_stream(h2_session->session, in http2_submit_rst_stream() 2484 int http2_submit_dns_response(struct http2_session* h2_session) in http2_submit_dns_response() argument 2490 struct http2_stream* h2_stream = h2_session->c->h2_stream; in http2_submit_dns_response() 2499 if(sldns_buffer_remaining(h2_session->c->buffer) == 0) { in http2_submit_dns_response() 2510 rlen = sldns_buffer_remaining(h2_session->c->buffer); in http2_submit_dns_response() 2518 return http2_submit_rst_stream(h2_session, h2_stream); in http2_submit_dns_response() 2550 sldns_buffer_current(h2_session->c->buffer), in http2_submit_dns_response() [all …]
|
| D | listen_dnsport.h | 450 int http2_submit_dns_response(struct http2_session* h2_session);
|
| /openbsd/src/usr.sbin/unbound/services/ |
| D | listen_dnsport.c | 2420 struct http2_session* h2_session = source->ptr; in http2_submit_response_read_callback() local 2423 h2_session->session, stream_id))) { in http2_submit_response_read_callback() 2463 static int http2_submit_rst_stream(struct http2_session* h2_session, in http2_submit_rst_stream() argument 2466 int ret = nghttp2_submit_rst_stream(h2_session->session, in http2_submit_rst_stream() 2484 int http2_submit_dns_response(struct http2_session* h2_session) in http2_submit_dns_response() argument 2490 struct http2_stream* h2_stream = h2_session->c->h2_stream; in http2_submit_dns_response() 2499 if(sldns_buffer_remaining(h2_session->c->buffer) == 0) { in http2_submit_dns_response() 2510 rlen = sldns_buffer_remaining(h2_session->c->buffer); in http2_submit_dns_response() 2518 return http2_submit_rst_stream(h2_session, h2_stream); in http2_submit_dns_response() 2550 sldns_buffer_current(h2_session->c->buffer), in http2_submit_dns_response() [all …]
|
| D | listen_dnsport.h | 450 int http2_submit_dns_response(struct http2_session* h2_session);
|
| /openbsd/src/sbin/unwind/libunbound/util/ |
| D | netevent.c | 1379 static int http2_session_server_create(struct http2_session* h2_session) argument 1381 log_assert(h2_session->callbacks); 1382 h2_session->is_drop = 0; 1383 if(nghttp2_session_server_new(&h2_session->session, 1384 h2_session->callbacks, 1385 h2_session) == NGHTTP2_ERR_NOMEM) { 1394 static int http2_submit_settings(struct http2_session* h2_session) argument 1399 h2_session->c->http2_max_streams}}; 1401 ret = nghttp2_submit_settings(h2_session->session, NGHTTP2_FLAG_NONE, 1442 if(!c_hdl->h2_session || [all …]
|
| D | netevent.h | 259 struct http2_session* h2_session; member 950 void http2_session_add_stream(struct http2_session* h2_session,
|
| /openbsd/src/usr.sbin/unbound/util/ |
| D | netevent.c | 1379 static int http2_session_server_create(struct http2_session* h2_session) argument 1381 log_assert(h2_session->callbacks); 1382 h2_session->is_drop = 0; 1383 if(nghttp2_session_server_new(&h2_session->session, 1384 h2_session->callbacks, 1385 h2_session) == NGHTTP2_ERR_NOMEM) { 1394 static int http2_submit_settings(struct http2_session* h2_session) argument 1399 h2_session->c->http2_max_streams}}; 1401 ret = nghttp2_submit_settings(h2_session->session, NGHTTP2_FLAG_NONE, 1442 if(!c_hdl->h2_session || [all …]
|
| D | netevent.h | 259 struct http2_session* h2_session; member 950 void http2_session_add_stream(struct http2_session* h2_session,
|