summaryrefslogtreecommitdiff
path: root/CMake
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-06-30 17:12:11 +0200
committerJulian Andres Klode <jak@debian.org>2017-06-30 17:12:11 +0200
commit8f5db6b513b90b6ee5b625131a25b146fa912e0d (patch)
tree1e0efd607b6c628a62323f8abdf69c0df3fee7e2 /CMake
parentc6a428e4d17b408c2701def5daa46ca950948980 (diff)
Improve closing the TLS connection
If gnutls_session_bye() exited with an error, we never closed the underlying file descriptor, causing the method to think the connection was still open. This caused problems especially in test-partial-file-support where we checked that a "complete" file and an incomplete file work. The first GET returns a 416 with Connection: close, and the next GET request then accidentally reads the body of the 416 as the header for its own request.
Diffstat (limited to 'CMake')
0 files changed, 0 insertions, 0 deletions