Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tlsTO (0.03 sec)

  1. src/net/http/server.go

    			}
    			c.close()
    			c.setState(c.rwc, StateClosed, runHooks)
    		}
    	}()
    
    	if tlsConn, ok := c.rwc.(*tls.Conn); ok {
    		tlsTO := c.server.tlsHandshakeTimeout()
    		if tlsTO > 0 {
    			dl := time.Now().Add(tlsTO)
    			c.rwc.SetReadDeadline(dl)
    			c.rwc.SetWriteDeadline(dl)
    		}
    		if err := tlsConn.HandshakeContext(ctx); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
Back to top