Skip to content
Snippets Groups Projects
Commit b5386922 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

SSL: Fix lost close packets.

Removed some erroneous code.
parent 1d3eae75
No related branches found
No related tags found
No related merge requests found
......@@ -416,11 +416,6 @@ void send_packet(Packet packet, int|void priority)
PACKET_heartbeat : PRI_urgent,
PACKET_application_data : PRI_application ])[packet->content_type];
if ((state & CONNECTION_local_closing) && (priority >= PRI_application)) {
SSL3_DEBUG_MSG("send_packet: Ignoring application packet during close.\n");
return;
}
if ((packet->content_type == PACKET_handshake) &&
(priority == PRI_application)) {
// Assume the packet is either hello_request or client_hello,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment