- 05 Feb, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 04 Feb, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 02 Feb, 2014 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 01 Feb, 2014 3 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
These are promoted to public API from src/http2.h
-
Tatsuhiro Tsujikawa authored
Only stream ID which larger than currently used stream ID is detected as idle.
-
- 30 Jan, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 29 Jan, 2014 5 commits
-
-
Tatsuhiro Tsujikawa authored
It is easy enough to check the end of incoming data by evaluating frame->hd.flags & NGHTTP2_FLAG_END_STREAM in on_frame_recv_callback
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
This makes the callback semantics consistent with the other frames like HEADERS/PUSH_PROMISE.
-
Tatsuhiro Tsujikawa authored
Previously, there is inconsistency when on_frame_recv_callback is called between HEADERS/PUSH_PROMISE and the other frames. For former case, it is called before header block, in latter case, it is called after whole frame is received. To make it consistent, we call on_frame_recv_callback for HEADERS/PUSH_PROMISE after its frame is fully received. Since on_frame_recv_callback can signal the end of header block, we replaced on_end_headers_callback with on_begin_headers_callback, which is called when the reception of the header block is started.
-
- 28 Jan, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 27 Jan, 2014 11 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Since all headers are not always longer available on one nghttp2_session_mem_recv call, received headers may be interleaved with transmission log of the other frames. To make it clear that each header belongs to which stream, each header is printed with stream_id.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
nghttp2_data is added to nghttp2_frame union. When DATA is received, nghttp2_on_frame_recv_callback is called. When DATA is sent, nghttp2_on_frame_send_callback is called.
-
Tatsuhiro Tsujikawa authored
This is a preparation to add public nghttp2_data struct to nghttp2_frame union.
-
Tatsuhiro Tsujikawa authored
-
- 26 Jan, 2014 10 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
The maximum frame size including header block is still limited to NGHTTP2_HD_MAX_BUFFER_LENGTH, which is 32KB.
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
Now incoming data is processed in very small buffer (up to 8 bytes) using state machine. GOAWAY debug data can get to 16K - 1, and we don't have callback for it. Since we don't want to buffer that amount of data just for debugging, we currently discard it. This change also makes parse_error callback not function. It probably be removed from API.
-
- 25 Jan, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
This stream inflater can inflate incoming header block in streaming fashion. Currently, we buffer up single name/value pair, but we chose far more smaller buffer size than HTTP/2 frame size.
-
- 24 Jan, 2014 2 commits
-
-
Tatsuhiro Tsujikawa authored
-
Tatsuhiro Tsujikawa authored
-
- 23 Jan, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
-
- 22 Jan, 2014 1 commit
-
-
Tatsuhiro Tsujikawa authored
evdns_base uses /etc/resolve.conf for *nix like systems, but all platforms don't have the file (e.g., android device). For such platforms, address resolution fails. To fix this problem we use getaddrinfo() directly.
-