Commit Graph

13 Commits

Author SHA1 Message Date
klzgrad
21c9076faa naive: Yield for socket pump I/O properly
Avoid doing one direction for too long.
2018-01-29 01:57:23 +08:00
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
ea77310327 naive: Add Linux build scripts 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
0e4433c105 build: Trim libevent usage
Use system libevent on Linux. Remove extra libs on other platforms.
2018-01-29 01:27:58 +08:00
klzgrad
95ac1a17b7 build: Remove icu 2018-01-29 01:27:58 +08:00
Paul Jensen
96606bf48d build: Move exclude_unwind_tables back into declare_args
There is desire to adjust this flag manually.

BUG=762629
R=thakis@chromium.org

Change-Id: I3bd134c19270cd1f729b3ea078674e734493d4ab
2018-01-29 00:54:26 +08:00
klzgrad
19bc836227 Import chromium-63.0.3239.132 2018-01-29 00:30:36 +08:00