Commit Graph

9 Commits

Author SHA1 Message Date
klzgrad
3f9e1f4c67 naive: Fix coding style of callback null tests 2018-01-29 01:57:23 +08:00
klzgrad
09f2895dd9 naive: Check for null callbacks 2018-01-29 01:57:23 +08:00
klzgrad
bcb7c3bf3c naive: Add build rules 2018-01-29 01:27:59 +08:00
klzgrad
923e94d38c naive: Initial implementation of Naive client 2018-01-29 01:27:59 +08:00
klzgrad
817a6d072a socket: Allow higher limits for proxies
As an intermediary proxy we should not enforce stricter connection
limits in addition to what the user is already enforcing.
2018-01-29 01:27:59 +08:00
klzgrad
6832fccfb6 h2: Notify delegate about read EOF
So the delegate can close the socket instead of keeping sending data.

Read EOF or h2 half-closed (remote) state was introduced in
https://codereview.chromium.org/129543002. But StreamSocket doesnt
really supports a half closed state, so upon a read EOF the only sane
action is to close the socket immediately even if in theory more send
is possible.
2018-01-29 01:27:58 +08:00
klzgrad
532326bbc2 h2: Reduce warnings about RST on invalid streams
Per RFC 7540#6.4:

  However, after sending the RST_STREAM, the sending endpoint MUST be
  prepared to receive and process additional frames sent on the stream
  that might have been sent by the peer prior to the arrival of the
  RST_STREAM.
2018-01-29 01:27:58 +08:00
klzgrad
95ac1a17b7 build: Remove icu 2018-01-29 01:27:58 +08:00
klzgrad
19bc836227 Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00