Home
last modified time | relevance | path

Searched refs:nghttp2_session (Results 1 – 25 of 62) sorted by relevance

123

/third_party/nghttp2/lib/
Dnghttp2_session.h193 struct nghttp2_session { struct
352 nghttp2_session *session; argument
357 nghttp2_session *session;
373 int nghttp2_session_is_my_stream_id(nghttp2_session *session,
389 int nghttp2_session_add_item(nghttp2_session *session,
407 int nghttp2_session_add_rst_stream(nghttp2_session *session, int32_t stream_id,
427 int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
445 int nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id,
461 int nghttp2_session_add_window_update(nghttp2_session *session, uint8_t flags,
477 int nghttp2_session_add_settings(nghttp2_session *session, uint8_t flags,
[all …]
Dnghttp2_session.c47 session_is_outgoing_concurrent_streams_max(nghttp2_session *session) { in session_is_outgoing_concurrent_streams_max()
58 session_is_incoming_concurrent_streams_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_max()
69 session_is_incoming_concurrent_streams_pending_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_pending_max()
85 static int session_enforce_http_messaging(nghttp2_session *session) { in session_enforce_http_messaging()
92 static int session_trailer_headers(nghttp2_session *session, in session_trailer_headers()
107 static int state_reserved_remote(nghttp2_session *session, in state_reserved_remote()
114 static int state_reserved_local(nghttp2_session *session, in state_reserved_local()
124 static int session_is_new_peer_stream_id(nghttp2_session *session, in session_is_new_peer_stream_id()
131 static int session_detect_idle_stream(nghttp2_session *session, in session_detect_idle_stream()
150 static int session_call_error_callback(nghttp2_session *session, in session_call_error_callback()
[all …]
Dnghttp2_submit.c46 static int detect_self_dependency(nghttp2_session *session, int32_t stream_id, in detect_self_dependency()
67 static int32_t submit_headers_shared(nghttp2_session *session, uint8_t flags, in submit_headers_shared()
142 static int32_t submit_headers_shared_nva(nghttp2_session *session, in submit_headers_shared_nva()
171 int nghttp2_submit_trailer(nghttp2_session *session, int32_t stream_id, in nghttp2_submit_trailer()
182 int32_t nghttp2_submit_headers(nghttp2_session *session, uint8_t flags, in nghttp2_submit_headers()
214 int nghttp2_submit_ping(nghttp2_session *session, uint8_t flags, in nghttp2_submit_ping()
220 int nghttp2_submit_priority(nghttp2_session *session, uint8_t flags, in nghttp2_submit_priority()
268 int nghttp2_submit_rst_stream(nghttp2_session *session, uint8_t flags, in nghttp2_submit_rst_stream()
279 int nghttp2_submit_goaway(nghttp2_session *session, uint8_t flags, in nghttp2_submit_goaway()
292 int nghttp2_submit_shutdown_notice(nghttp2_session *session) { in nghttp2_submit_shutdown_notice()
[all …]
DMakefile.am41 nghttp2_session.c nghttp2_submit.c \
58 nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
/third_party/node/deps/nghttp2/lib/
Dnghttp2_session.h193 struct nghttp2_session { struct
352 nghttp2_session *session; argument
357 nghttp2_session *session;
373 int nghttp2_session_is_my_stream_id(nghttp2_session *session,
389 int nghttp2_session_add_item(nghttp2_session *session,
407 int nghttp2_session_add_rst_stream(nghttp2_session *session, int32_t stream_id,
427 int nghttp2_session_add_ping(nghttp2_session *session, uint8_t flags,
445 int nghttp2_session_add_goaway(nghttp2_session *session, int32_t last_stream_id,
461 int nghttp2_session_add_window_update(nghttp2_session *session, uint8_t flags,
477 int nghttp2_session_add_settings(nghttp2_session *session, uint8_t flags,
[all …]
Dnghttp2_session.c47 session_is_outgoing_concurrent_streams_max(nghttp2_session *session) { in session_is_outgoing_concurrent_streams_max()
58 session_is_incoming_concurrent_streams_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_max()
69 session_is_incoming_concurrent_streams_pending_max(nghttp2_session *session) { in session_is_incoming_concurrent_streams_pending_max()
85 static int session_enforce_http_messaging(nghttp2_session *session) { in session_enforce_http_messaging()
92 static int session_trailer_headers(nghttp2_session *session, in session_trailer_headers()
107 static int state_reserved_remote(nghttp2_session *session, in state_reserved_remote()
114 static int state_reserved_local(nghttp2_session *session, in state_reserved_local()
124 static int session_is_new_peer_stream_id(nghttp2_session *session, in session_is_new_peer_stream_id()
131 static int session_detect_idle_stream(nghttp2_session *session, in session_detect_idle_stream()
150 static int session_call_error_callback(nghttp2_session *session, in session_call_error_callback()
[all …]
Dnghttp2_submit.c46 static int detect_self_dependency(nghttp2_session *session, int32_t stream_id, in detect_self_dependency()
67 static int32_t submit_headers_shared(nghttp2_session *session, uint8_t flags, in submit_headers_shared()
142 static int32_t submit_headers_shared_nva(nghttp2_session *session, in submit_headers_shared_nva()
171 int nghttp2_submit_trailer(nghttp2_session *session, int32_t stream_id, in nghttp2_submit_trailer()
182 int32_t nghttp2_submit_headers(nghttp2_session *session, uint8_t flags, in nghttp2_submit_headers()
214 int nghttp2_submit_ping(nghttp2_session *session, uint8_t flags, in nghttp2_submit_ping()
220 int nghttp2_submit_priority(nghttp2_session *session, uint8_t flags, in nghttp2_submit_priority()
268 int nghttp2_submit_rst_stream(nghttp2_session *session, uint8_t flags, in nghttp2_submit_rst_stream()
279 int nghttp2_submit_goaway(nghttp2_session *session, uint8_t flags, in nghttp2_submit_goaway()
292 int nghttp2_submit_shutdown_notice(nghttp2_session *session) { in nghttp2_submit_shutdown_notice()
[all …]
DMakefile.am41 nghttp2_session.c nghttp2_submit.c \
58 nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
/third_party/node/deps/nghttp2/lib/includes/nghttp2/
Dnghttp2.h122 struct nghttp2_session;
130 typedef struct nghttp2_session nghttp2_session; typedef
927 nghttp2_session *session, int32_t stream_id, uint8_t *buf, size_t length,
1326 typedef ssize_t (*nghttp2_send_callback)(nghttp2_session *session,
1369 typedef int (*nghttp2_send_data_callback)(nghttp2_session *session,
1399 typedef ssize_t (*nghttp2_recv_callback)(nghttp2_session *session, uint8_t *buf,
1437 typedef int (*nghttp2_on_frame_recv_callback)(nghttp2_session *session,
1466 nghttp2_session *session, const nghttp2_frame *frame, int lib_error_code,
1499 typedef int (*nghttp2_on_data_chunk_recv_callback)(nghttp2_session *session,
1531 typedef int (*nghttp2_before_frame_send_callback)(nghttp2_session *session,
[all …]
/third_party/nghttp2/lib/includes/nghttp2/
Dnghttp2.h122 struct nghttp2_session;
130 typedef struct nghttp2_session nghttp2_session; typedef
931 nghttp2_session *session, int32_t stream_id, uint8_t *buf, size_t length,
1331 typedef ssize_t (*nghttp2_send_callback)(nghttp2_session *session,
1376 typedef int (*nghttp2_send_data_callback)(nghttp2_session *session,
1408 typedef ssize_t (*nghttp2_recv_callback)(nghttp2_session *session, uint8_t *buf,
1447 typedef int (*nghttp2_on_frame_recv_callback)(nghttp2_session *session,
1477 nghttp2_session *session, const nghttp2_frame *frame, int lib_error_code,
1511 typedef int (*nghttp2_on_data_chunk_recv_callback)(nghttp2_session *session,
1544 typedef int (*nghttp2_before_frame_send_callback)(nghttp2_session *session,
[all …]
/third_party/nghttp2/python/
Dcnghttp2.pxd32 ctypedef struct nghttp2_session:
131 (nghttp2_session *session, const uint8_t *data, size_t length,
135 (nghttp2_session *session, const nghttp2_frame *frame, void *user_data)
138 (nghttp2_session *session, uint8_t flags, int32_t stream_id,
142 (nghttp2_session *session, const nghttp2_frame *frame, void *user_data)
145 (nghttp2_session *session, int32_t stream_id,
149 (nghttp2_session *session, const nghttp2_frame *frame, void *user_data)
152 (nghttp2_session *session,
160 (nghttp2_session *session, const nghttp2_frame *frame, void *user_data)
163 (nghttp2_session *session, const nghttp2_frame *frame,
[all …]
/third_party/nghttp2/tests/
Dnghttp2_test_helper.h97 nghttp2_stream *open_stream(nghttp2_session *session, int32_t stream_id);
99 nghttp2_stream *open_stream_with_dep(nghttp2_session *session,
103 nghttp2_stream *open_stream_with_dep_weight(nghttp2_session *session,
107 nghttp2_stream *open_stream_with_dep_excl(nghttp2_session *session,
116 nghttp2_stream *open_sent_stream(nghttp2_session *session, int32_t stream_id);
118 nghttp2_stream *open_sent_stream2(nghttp2_session *session, int32_t stream_id,
121 nghttp2_stream *open_sent_stream3(nghttp2_session *session, int32_t stream_id,
127 nghttp2_stream *open_sent_stream_with_dep(nghttp2_session *session,
131 nghttp2_stream *open_sent_stream_with_dep_weight(nghttp2_session *session,
138 nghttp2_stream *open_recv_stream(nghttp2_session *session, int32_t stream_id);
[all …]
Dnghttp2_test_helper.c261 static nghttp2_stream *open_stream_with_all(nghttp2_session *session, in open_stream_with_all()
281 nghttp2_stream *open_stream(nghttp2_session *session, int32_t stream_id) { in open_stream()
286 nghttp2_stream *open_stream_with_dep(nghttp2_session *session, in open_stream_with_dep()
293 nghttp2_stream *open_stream_with_dep_weight(nghttp2_session *session, in open_stream_with_dep_weight()
299 nghttp2_stream *open_stream_with_dep_excl(nghttp2_session *session, in open_stream_with_dep_excl()
315 nghttp2_stream *open_sent_stream(nghttp2_session *session, int32_t stream_id) { in open_sent_stream()
323 nghttp2_stream *open_sent_stream2(nghttp2_session *session, int32_t stream_id, in open_sent_stream2()
332 nghttp2_stream *open_sent_stream3(nghttp2_session *session, int32_t stream_id, in open_sent_stream3()
351 nghttp2_stream *open_sent_stream_with_dep(nghttp2_session *session, in open_sent_stream_with_dep()
358 nghttp2_stream *open_sent_stream_with_dep_weight(nghttp2_session *session, in open_sent_stream_with_dep_weight()
[all …]
Dnghttp2_session_test.c123 static ssize_t null_send_callback(nghttp2_session *session, const uint8_t *data, in null_send_callback()
133 static ssize_t fail_send_callback(nghttp2_session *session, const uint8_t *data, in fail_send_callback()
144 static ssize_t fixed_bytes_send_callback(nghttp2_session *session, in fixed_bytes_send_callback()
155 static ssize_t scripted_recv_callback(nghttp2_session *session, uint8_t *data, in scripted_recv_callback()
171 static ssize_t eof_recv_callback(nghttp2_session *session, uint8_t *data, in eof_recv_callback()
182 static ssize_t accumulator_send_callback(nghttp2_session *session, in accumulator_send_callback()
195 static int on_begin_frame_callback(nghttp2_session *session, in on_begin_frame_callback()
206 static int on_frame_recv_callback(nghttp2_session *session, in on_frame_recv_callback()
218 static int on_invalid_frame_recv_callback(nghttp2_session *session, in on_invalid_frame_recv_callback()
230 static int on_frame_send_callback(nghttp2_session *session, in on_frame_send_callback()
[all …]
Dfailmalloc_test.c62 static ssize_t null_send_callback(nghttp2_session *session, const uint8_t *data, in null_send_callback()
72 static ssize_t data_feed_recv_callback(nghttp2_session *session, uint8_t *data, in data_feed_recv_callback()
86 nghttp2_session *session, int32_t stream_id, uint8_t *buf, size_t len, in fixed_length_data_source_read_callback()
128 nghttp2_session *session; in run_nghttp2_session_send()
220 nghttp2_session *session; in run_nghttp2_session_send_server()
274 nghttp2_session *session; in run_nghttp2_session_recv()
/third_party/nghttp2/fuzz/
Dfuzz_target.cc4 int on_frame_recv_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_frame_recv_callback()
11 int on_begin_headers_callback(nghttp2_session *session, in on_begin_headers_callback()
18 int on_header_callback2(nghttp2_session *session, const nghttp2_frame *frame, in on_header_callback2()
26 int before_frame_send_callback(nghttp2_session *session, in before_frame_send_callback()
33 int on_frame_send_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_frame_send_callback()
40 void send_pending(nghttp2_session *session) { in send_pending()
52 nghttp2_session *session; in LLVMFuzzerTestOneInput()
/third_party/nghttp2/src/
Dapp_helper.h44 int verbose_on_header_callback(nghttp2_session *session,
49 int verbose_on_frame_recv_callback(nghttp2_session *session,
52 int verbose_on_invalid_frame_recv_callback(nghttp2_session *session,
56 int verbose_on_frame_send_callback(nghttp2_session *session,
59 int verbose_on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags,
63 int verbose_error_callback(nghttp2_session *session, int lib_error_code,
Dh2load_http2_session.cc45 int on_header_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_header_callback()
70 int on_frame_recv_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_frame_recv_callback()
88 int on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags, in on_data_chunk_recv_callback()
99 int on_stream_close_callback(nghttp2_session *session, int32_t stream_id, in on_stream_close_callback()
109 int on_frame_not_send_callback(nghttp2_session *session, in on_frame_not_send_callback()
126 int before_frame_send_callback(nghttp2_session *session, in before_frame_send_callback()
143 ssize_t file_read_callback(nghttp2_session *session, int32_t stream_id, in file_read_callback()
177 ssize_t send_callback(nghttp2_session *session, const uint8_t *data, in send_callback()
Dasio_server_http2_handler.cc45 int stream_error(nghttp2_session *session, int32_t stream_id, in stream_error()
53 int on_begin_headers_callback(nghttp2_session *session, in on_begin_headers_callback()
69 int on_header_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_header_callback()
125 int on_frame_recv_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_frame_recv_callback()
164 int on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags, in on_data_chunk_recv_callback()
182 int on_stream_close_callback(nghttp2_session *session, int32_t stream_id, in on_stream_close_callback()
200 int on_frame_send_callback(nghttp2_session *session, const nghttp2_frame *frame, in on_frame_send_callback()
222 int on_frame_not_send_callback(nghttp2_session *session, in on_frame_not_send_callback()
357 prd.read_callback = [](nghttp2_session *session, int32_t stream_id, in start_response()
Dapp_helper.cc373 int verbose_on_header_callback(nghttp2_session *session, in verbose_on_header_callback()
394 int verbose_on_frame_recv_callback(nghttp2_session *session, in verbose_on_frame_recv_callback()
404 int verbose_on_invalid_frame_recv_callback(nghttp2_session *session, in verbose_on_invalid_frame_recv_callback()
416 int verbose_on_frame_send_callback(nghttp2_session *session, in verbose_on_frame_send_callback()
426 int verbose_on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags, in verbose_on_data_chunk_recv_callback()
442 int verbose_error_callback(nghttp2_session *session, int lib_error_code, in verbose_error_callback()
/third_party/node/src/
Dnode_http2.h109 std::unique_ptr<nghttp2_session,
110 Nghttp2Deleter<nghttp2_session, nghttp2_session_del>>;
159 typedef uint32_t(*get_setting)(nghttp2_session* session,
527 static ssize_t OnRead(nghttp2_session* session,
608 nghttp2_session* session() const { return session_.get(); } in session()
610 nghttp2_session* operator*() { return session_.get(); }
789 nghttp2_session* session,
793 nghttp2_session* session,
800 nghttp2_session* session,
804 nghttp2_session* session,
[all …]
/third_party/nghttp2/examples/
Dlibevent-server.c100 nghttp2_session *session;
324 static ssize_t send_callback(nghttp2_session *session, const uint8_t *data, in send_callback()
393 static ssize_t file_read_callback(nghttp2_session *session, int32_t stream_id, in file_read_callback()
415 static int send_response(nghttp2_session *session, int32_t stream_id, in send_response()
433 static int error_reply(nghttp2_session *session, in error_reply()
473 static int on_header_callback(nghttp2_session *session, in on_header_callback()
503 static int on_begin_headers_callback(nghttp2_session *session, in on_begin_headers_callback()
528 static int on_request_recv(nghttp2_session *session, in on_request_recv()
568 static int on_frame_recv_callback(nghttp2_session *session, in on_frame_recv_callback()
593 static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id, in on_stream_close_callback()
Dlibevent-client.c91 nghttp2_session *session;
202 static ssize_t send_callback(nghttp2_session *session, const uint8_t *data, in send_callback()
215 static int on_header_callback(nghttp2_session *session, in on_header_callback()
237 static int on_begin_headers_callback(nghttp2_session *session, in on_begin_headers_callback()
257 static int on_frame_recv_callback(nghttp2_session *session, in on_frame_recv_callback()
278 static int on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags, in on_data_chunk_recv_callback()
295 static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id, in on_stream_close_callback()
Dclient.c81 nghttp2_session *session;
162 static ssize_t send_callback(nghttp2_session *session, const uint8_t *data, in send_callback()
192 static ssize_t recv_callback(nghttp2_session *session, uint8_t *buf, in recv_callback()
218 static int on_frame_send_callback(nghttp2_session *session, in on_frame_send_callback()
246 static int on_frame_recv_callback(nghttp2_session *session, in on_frame_recv_callback()
284 static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id, in on_stream_close_callback()
306 static int on_data_chunk_recv_callback(nghttp2_session *session, uint8_t flags, in on_data_chunk_recv_callback()
/third_party/nghttp2/doc/
Dprogrammers-guide.rst29 The primary object that an application uses is :type:`nghttp2_session`
33 :type:`nghttp2_session` object through the dedicated object and
36 An application can create as many :type:`nghttp2_session` object as it
37 wants. But single :type:`nghttp2_session` object must be used by a
42 To feed input to :type:`nghttp2_session` object, one can use
51 To get output from :type:`nghttp2_session` object, one can use
70 can destroy :type:`nghttp2_session`, and then close the underlying
75 transmission of the buffered data outside of :type:`nghttp2_session`.
261 ssize_t pack_extension_callback(nghttp2_session *session, uint8_t *buf,
340 int on_extension_chunk_recv_callback(nghttp2_session *session,
[all …]

123