Loïc Hoguin
8fc3da2fc3
Fix HTTP/1.1 bug when a flow command is returned after fin
...
This resulted in a badarith error due to the current flow being
set to infinity when the body has been fully read. A test case
has been added reproducing the issue.
2020-02-07 11:32:15 +01:00
Loïc Hoguin
1a9e62ae2a
Improve some early_error tests
2019-10-04 11:57:29 +02:00
Loïc Hoguin
1ba48c58b1
Make stream_error early_error reasons consistent
...
Now both HTTP/1.1 and HTTP/2 follow the documented format.
HTTP/1.1 was including an extra element containing the
StreamID before, which was unnecessary because it is also
given as argument to the callback.
HTTP/2 early_error will now include headers in its PartialReq.
2019-10-03 16:04:17 +02:00
Loïc Hoguin
36836594f8
Fix tests failing following Gun update to master
2019-09-06 15:37:42 +02:00
Loïc Hoguin
66fd122c08
Silence expected errors from the stream_handler test suite
2018-11-19 12:37:39 +01:00
Loïc Hoguin
75045637fc
Ensure unknown options are ignored in set_options command
2018-11-16 13:09:01 +01:00
Loïc Hoguin
bc43fca9e6
Fix stream_handler_SUITE test failures due to compression
...
We always compress when streaming the body back to the client
regardless of the size actually streamed.
2018-09-23 14:10:04 +02:00
Loïc Hoguin
b56a5a1d60
Do not send a 101 after a final response in switch_protocol
2018-09-12 16:16:29 +02:00
Loïc Hoguin
1066a8d376
Remove two warnings in test suites
2017-11-29 17:03:16 +01:00
Loïc Hoguin
cf3ab5832a
Add nowarn_export_all to all test suites
2017-11-29 16:57:10 +01:00
Loïc Hoguin
af58babd94
Fix stream_handler_SUITE test failures
2017-11-01 19:24:42 +00:00
Loïc Hoguin
4bebe39975
Ensure stream terminate is called when switching protocols
2017-10-22 14:53:04 +01:00
Loïc Hoguin
c602871f86
Fix HTTP/1.1 stopping streams too early
...
It is possible in some cases to move on to the next request
without waiting, but that can be done as an optimization
later on if necessary.
2017-10-20 13:16:04 +01:00
Loïc Hoguin
11ae407eed
Ensure the behavior on stream handler crash is consistent
...
Also corrects the lack of error response when HTTP/1.1 is used.
2017-09-27 14:17:27 +02:00
Loïc Hoguin
a2facaf2da
Add tests for the streams shutdown mechanism
2017-08-14 17:17:44 +02:00
Loïc Hoguin
767da623f1
Fix terminate not being called on connection close in HTTP/1.1
...
Introduces the new stream_handler_SUITE test suite. More cases
will be added later on.
2017-06-02 12:31:00 +02:00