diff options
author | Julian Andres Klode <jak@debian.org> | 2017-06-30 17:12:11 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-06-30 17:12:11 +0200 |
commit | 8f5db6b513b90b6ee5b625131a25b146fa912e0d (patch) | |
tree | 1e0efd607b6c628a62323f8abdf69c0df3fee7e2 /completions | |
parent | c6a428e4d17b408c2701def5daa46ca950948980 (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 'completions')
0 files changed, 0 insertions, 0 deletions