Closed andreasley closed 7 years ago
Great find. Tests failed on macOS, though. Re-rerunning to make sure it wasn't a network issue.
I've had tests on CI failing for no reason in the last few weeks – tests that succeeded every time when run locally. I think we're pushing the boundaries of Travis with all this TCP stuff. :) In general, I think it's best to create sockets in tests on any available port instead of a specific one.
Yeah, I'm pretty sure it's their issue. The tests were written by the original author of this package so hopefully they don't need to be reworked just for Travis.
No coverage report found for master at bd9af15.
Powered by Codecov. Last update bd9af15...bcdcabe
Improved performance
Previously, all bytes received were passed trough an
map
operation that is not required, since the bytes are alreadyUInt8
. This change improves performance for large transfers considerably.Improves https://github.com/vapor/vapor/issues/734
Improved cleanup and safety
TCPInternetSocket
andUDPInternetSocket
now close their descriptors on deinitclose()
don't try to close the file descriptor anymoreTCPInternetSocket
orUDPInternetSocket
now throw to prevent using a descriptor that may already be used otherwiseImproved testing
WatchingTests
are now run under Linux, tooWatchingTests
should not fail anymore