Searched refs:h2_stream (Results 1 – 7 of 7) sorted by relevance
/freebsd/contrib/unbound/services/ |
H A D | listen_dnsport.c | 2520 struct http2_stream* h2_stream; in http2_submit_response_read_callback() local 2523 if(!(h2_stream = nghttp2_session_get_stream_user_data( in http2_submit_response_read_callback() 2529 if(!h2_stream->rbuffer || in http2_submit_response_read_callback() 2530 sldns_buffer_remaining(h2_stream->rbuffer) == 0) { in http2_submit_response_read_callback() 2537 if(copylen > sldns_buffer_remaining(h2_stream->rbuffer)) in http2_submit_response_read_callback() 2538 copylen = sldns_buffer_remaining(h2_stream->rbuffer); in http2_submit_response_read_callback() 2542 memcpy(buf, sldns_buffer_current(h2_stream->rbuffer), copylen); in http2_submit_response_read_callback() 2543 sldns_buffer_skip(h2_stream->rbuffer, copylen); in http2_submit_response_read_callback() 2545 if(sldns_buffer_remaining(h2_stream->rbuffer) == 0) { in http2_submit_response_read_callback() 2549 sldns_buffer_capacity(h2_stream->rbuffer); in http2_submit_response_read_callback() [all …]
|
H A D | mesh.c | 519 http2_stream_add_meshstate(rep->c->h2_stream, mesh, s); in mesh_new_client() 572 http2_stream_remove_mesh_state(rep->c->h2_stream); in mesh_new_client() 982 http2_stream_remove_mesh_state(rep->h2_stream); in mesh_state_cleanup() 1368 r->query_reply.c->h2_stream = r->h2_stream; in mesh_send_reply() 1372 r->h2_stream->mesh_state = NULL; in mesh_send_reply() 1540 http2_stream_remove_mesh_state(r->h2_stream); in mesh_query_done() 1574 http2_stream_remove_mesh_state(r->h2_stream); in mesh_query_done() 1743 r->h2_stream = rep->c->h2_stream; in mesh_state_add_reply() 1744 else r->h2_stream = NULL; in mesh_state_add_reply() 2270 http2_stream_remove_mesh_state(r->h2_stream); in mesh_serve_expired_callback()
|
H A D | mesh.h | 236 struct http2_stream* h2_stream; member
|
H A D | listen_dnsport.h | 456 void http2_req_stream_clear(struct http2_stream* h2_stream);
|
/freebsd/contrib/unbound/util/ |
H A D | netevent.h | 286 struct http2_stream* h2_stream; member 1015 struct http2_stream* h2_stream); 1019 void http2_stream_add_meshstate(struct http2_stream* h2_stream, 1023 void http2_stream_remove_mesh_state(struct http2_stream* h2_stream);
|
H A D | netevent.c | 5057 struct http2_stream* h2_stream = calloc(1, sizeof(*h2_stream)); local 5058 if(!h2_stream) { 5062 h2_stream->stream_id = stream_id; 5063 return h2_stream; 5068 struct http2_stream* h2_stream) argument 5070 if(h2_stream->mesh_state) { 5071 mesh_state_remove_reply(h2_stream->mesh, h2_stream->mesh_state, 5073 h2_stream->mesh_state = NULL; 5075 http2_req_stream_clear(h2_stream); 5076 free(h2_stream); [all …]
|
/freebsd/contrib/unbound/doc/ |
H A D | Changelog | 235 h2_stream is NULL when not in use, for more initialisation.
|