Home
last modified time | relevance | path

Searched refs:http2_session_data (Results 1 – 4 of 4) sorted by relevance

/third_party/nghttp2/examples/
Dlibevent-client.c95 } http2_session_data; typedef
152 static http2_session_data *
154 http2_session_data *session_data = malloc(sizeof(http2_session_data)); in create_http2_session_data()
156 memset(session_data, 0, sizeof(http2_session_data)); in create_http2_session_data()
161 static void delete_http2_session_data(http2_session_data *session_data) { in delete_http2_session_data()
204 http2_session_data *session_data = (http2_session_data *)user_data; in send_callback()
219 http2_session_data *session_data = (http2_session_data *)user_data; in on_header_callback()
240 http2_session_data *session_data = (http2_session_data *)user_data; in on_begin_headers_callback()
259 http2_session_data *session_data = (http2_session_data *)user_data; in on_frame_recv_callback()
281 http2_session_data *session_data = (http2_session_data *)user_data; in on_data_chunk_recv_callback()
[all …]
Dlibevent-server.c96 typedef struct http2_session_data { struct
102 } http2_session_data; typedef
199 static void add_stream(http2_session_data *session_data, in add_stream()
209 static void remove_stream(http2_session_data *session_data, in remove_stream()
220 create_http2_stream_data(http2_session_data *session_data, int32_t stream_id) { in create_http2_stream_data()
239 static http2_session_data *create_http2_session_data(app_context *app_ctx, in create_http2_session_data()
244 http2_session_data *session_data; in create_http2_session_data()
250 session_data = malloc(sizeof(http2_session_data)); in create_http2_session_data()
251 memset(session_data, 0, sizeof(http2_session_data)); in create_http2_session_data()
269 static void delete_http2_session_data(http2_session_data *session_data) { in delete_http2_session_data()
[all …]
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst76 We define and use a ``http2_session_data`` structure to store data
84 } http2_session_data;
118 http2_session_data *session_data) {
146 http2_session_data *session_data = (http2_session_data *)ptr;
203 static void initialize_nghttp2_session(http2_session_data *session_data) {
245 static void send_client_connection_header(http2_session_data *session_data) {
270 static void submit_request(http2_session_data *session_data) {
306 http2_session_data *session_data = (http2_session_data *)ptr;
337 static int session_send(http2_session_data *session_data) {
355 http2_session_data *session_data = (http2_session_data *)user_data;
[all …]
Dtutorial-server.rst115 We use the ``http2_session_data`` structure to store session-level
118 typedef struct http2_session_data {
124 } http2_session_data;
137 to by the ``root->next`` in ``http2_session_data``. Initially,
141 the pointer to the bufferevent stored in the ``http2_session_data``
143 ``http2_session_data`` and not in ``http2_stream_data``. This is
146 ``http2_session_data``.
189 http2_session_data *session_data;
196 Here we create the ``http2_session_data`` object. The connection's
206 http2_session_data *session_data = (http2_session_data *)ptr;
[all …]