Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[HTTP-Pipelining] Test pipelined requests maintain order #321

Open
wants to merge 3 commits into
base: http-pipelining
Choose a base branch
from

Conversation

t089
Copy link

@t089 t089 commented Dec 13, 2018

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

@t089
Copy link
Author

t089 commented Dec 13, 2018

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

debugOnly { assert(!self.awaitingReponse, "Pipelined HTTP request detected. Enable pipelining to prevent this error.")}

@tanner0101 tanner0101 added this to In Progress in Vapor 3 via automation Feb 28, 2019
@tanner0101 tanner0101 added the enhancement New feature or request label Feb 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Vapor 3
  
In Progress
Development

Successfully merging this pull request may close these issues.

None yet

2 participants