aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/post-callback.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2016-04-05 20:27:38 +0200
committerDaniel Stenberg <daniel@haxx.se>2016-04-05 20:27:38 +0200
commitc8ab61312cb913232a7b3874bdcafa215d6b21db (patch)
tree9bd80a8cc32705e5521da99fe18205ae6d894c26 /docs/examples/post-callback.c
parente230044adf315c922512fc215fd39979eb7662ae (diff)
http2: fix connection reuse when PING comes after last DATA
It turns out the google GFE HTTP/2 servers send a PING frame immediately after a stream ends and its last DATA has been received by curl. So if we don't drain that from the socket, it makes the socket readable in subsequent checks and libcurl then (wrongly) assumes the connection is dead when trying to reuse the connection. Reported-by: Joonas Kuorilehto Discussed in #750
Diffstat (limited to 'docs/examples/post-callback.c')
0 files changed, 0 insertions, 0 deletions