Skip to content

crypto/tls: TLS client handshake is blocking incoming connections #2263

Description

@gopherbot

by branimirkaradzic:

What steps will reproduce the problem?

 - Run http.ListenAndServeTLS server.
 - When connecting client, initiate TLS negotiation, but don't complete it. Client must not write nor close connection in order to reproduce this bug.


What is the expected output?

 - Server doesn't block processing incoming connections when negotiating TLS with client.
 - Server drops client after read/write timeout specified in http.Server struct.


What do you see instead?

Server becomes unresponsive.


Which compiler are you using (5g, 6g, 8g, gccgo)?

6g


Which operating system are you using?

Linux


Which revision are you using?  (hg identify)

b0819469a6df (release-branch.r60) release/release.r60


Please provide any additional information below.

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions