Ticket #5940 defect new

Opened 9 months ago

Last modified 9 months ago

Firefox and Chrome do not seem to like the way we close SSL connections

Reported by: itamar Owned by:
Priority: normal Milestone:
Component: core Keywords:
Cc: wulczer@… Branch:
Author: Launchpad Bug:

Description

The attached example simulates a web server, closing the SSL connection when it's done. If you point Firefox 15 or Chromium 18.0.1025.168~r134367-0ubuntu0.12.0 (thank you Ubuntu!) at it, the connectionLost method is not called. ssldump suggests that while the server sends an SSL shutdown message to the browser, the browser never responds with its own SSL shutdown.

Add a connection: close header fixes the problem. It's possible browsers are incapable of handling clean TLS shutdown(?!) in which case maybe we should go back to old SSL behavior of unclean shutdown. Or maybe we're doing it wrong somehow.

Attachments

bug.py Download (0.8 KB) - added by itamar 9 months ago.
A simulated HTTP server that does a clean TLS shutdown

Change History

Changed 9 months ago by itamar

A simulated HTTP server that does a clean TLS shutdown

1

Changed 9 months ago by wulczer

  • cc wulczer@… added
Note: See TracTickets for help on using tickets.