diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-05-12 16:29:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-05-12 17:01:02 +0200 |
commit | 4cdb1be8246caefd0c0e777f6da4128d7f51b2a2 (patch) | |
tree | c4a85793df904ac84e26184df4311cdda091175b /docs/libcurl/opts/CURLOPT_HEADERDATA.3 | |
parent | bc3866e3eb3f4da60bb0d6fbe8e4e38ae8ce943f (diff) |
pipeline: fix mistakenly trying to pipeline POSTs
The function IsPipeliningPossible() would return TRUE if either
pipelining OR HTTP/2 were possible on a connection, which would lead to
it returning TRUE even for POSTs on HTTP/1 connections.
It now returns a bitmask so that the caller can differentiate which kind
the connection allows.
Fixes #1481
Closes #1483
Reported-by: stootill at github
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_HEADERDATA.3')
0 files changed, 0 insertions, 0 deletions