http icon indicating copy to clipboard operation
http copied to clipboard

[HTTP-Pipelining] Test pipelined requests maintain order

Open t089 opened this issue 6 years ago • 1 comments

This adds a simple test that asserts that pipelined requests are always responded to in the correct order if supportPipelining: true is set.

t089 avatar Dec 13 '18 07:12 t089

I've added a test that triggers the assertion in debug builds even if pipelining is enabled.

https://github.com/vapor/http/blob/939d1f93bcda7ad5295f1c2745d2eb962e63c2d7/Sources/HTTP/Responder/HTTPServer.swift#L150

t089 avatar Dec 13 '18 08:12 t089