Searched refs:h2_stream (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/bsd/unbound/dist/services/ |
| H A D | listen_dnsport.c | 2408 struct http2_stream* h2_stream; in http2_submit_response_read_callback() local 2411 if(!(h2_stream = nghttp2_session_get_stream_user_data( in http2_submit_response_read_callback() 2417 if(!h2_stream->rbuffer || in http2_submit_response_read_callback() 2418 sldns_buffer_remaining(h2_stream->rbuffer) == 0) { in http2_submit_response_read_callback() 2425 if(copylen > sldns_buffer_remaining(h2_stream->rbuffer)) in http2_submit_response_read_callback() 2426 copylen = sldns_buffer_remaining(h2_stream->rbuffer); in http2_submit_response_read_callback() 2430 memcpy(buf, sldns_buffer_current(h2_stream->rbuffer), copylen); in http2_submit_response_read_callback() 2431 sldns_buffer_skip(h2_stream->rbuffer, copylen); in http2_submit_response_read_callback() 2433 if(sldns_buffer_remaining(h2_stream->rbuffer) == 0) { in http2_submit_response_read_callback() 2437 sldns_buffer_capacity(h2_stream->rbuffer); in http2_submit_response_read_callback() [all …]
|
| H A D | listen_dnsport.h | 438 void http2_req_stream_clear(struct http2_stream* h2_stream);
|
| H A D | mesh.h | 236 struct http2_stream* h2_stream; member
|
| H A D | mesh.c | 501 http2_stream_add_meshstate(rep->c->h2_stream, mesh, s); in mesh_new_client() 1312 r->query_reply.c->h2_stream = r->h2_stream; in mesh_send_reply() 1316 r->h2_stream->mesh_state = NULL; in mesh_send_reply() 1654 r->h2_stream = rep->c->h2_stream; in mesh_state_add_reply()
|
| /netbsd-src/external/bsd/unbound/dist/testcode/ |
| H A D | dohclient.c | 148 struct http2_stream* h2_stream; in submit_query() local 156 h2_stream = calloc(1, sizeof(*h2_stream)); in submit_query() 157 if(!h2_stream) in submit_query() 159 h2_stream->buf = buf; in submit_query() 164 h2_stream->path = (char*)h2_session->endpoint; in submit_query() 172 h2_stream->path = malloc(strlen( in submit_query() 174 if(!h2_stream->path) fatal_exit("out of memory"); in submit_query() 175 snprintf(h2_stream->path, strlen(h2_session->endpoint)+ in submit_query() 187 headers[1].value = (uint8_t*)h2_stream->path; in submit_query() 208 (h2_session->post) ? &data_prd : NULL, h2_stream); in submit_query() [all …]
|
| H A D | fake_event.c | 1904 void http2_stream_add_meshstate(struct http2_stream* ATTR_UNUSED(h2_stream), in http2_stream_add_meshstate() argument
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | netevent.c | 3271 struct http2_stream* h2_stream = calloc(1, sizeof(*h2_stream)); local 3272 if(!h2_stream) { 3276 h2_stream->stream_id = stream_id; 3277 return h2_stream; 3282 struct http2_stream* h2_stream) argument 3284 if(h2_stream->mesh_state) { 3285 mesh_state_remove_reply(h2_stream->mesh, h2_stream->mesh_state, 3287 h2_stream->mesh_state = NULL; 3289 http2_req_stream_clear(h2_stream); 3290 free(h2_stream); [all …]
|
| H A D | netevent.h | 261 struct http2_stream* h2_stream; member 949 struct http2_stream* h2_stream); 953 void http2_stream_add_meshstate(struct http2_stream* h2_stream,
|