aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2023-12-18 18:11:10 +0100
committerLoïc Hoguin <[email protected]>2023-12-18 18:17:09 +0100
commit627a4508b539f98fb632b4ff9a92a4f9c2c54890 (patch)
tree5d99c4af8c423251675e54ac88b29ede4a0777f5 /src/cowboy.erl
parent2558ba65ad3e39dd10ab65196af8f4dbb067f476 (diff)
downloadcowboy-627a4508b539f98fb632b4ff9a92a4f9c2c54890.tar.gz
cowboy-627a4508b539f98fb632b4ff9a92a4f9c2c54890.tar.bz2
cowboy-627a4508b539f98fb632b4ff9a92a4f9c2c54890.zip
Explicitly close the socket in some tests for speed ups
The socket staying open meant that the graceful shut down of the Cowboy listeners were waiting for the connections to be closed gracefully (or a timeout). Closing explicitly where it makes sense ensures we don't unnecessarily wait. This commit removes a full minute in the run time of all Cowboy test suites (minus examples).
Diffstat (limited to 'src/cowboy.erl')
0 files changed, 0 insertions, 0 deletions