misc: updated dependencies

This commit is contained in:
evilsocket 2018-09-13 13:22:40 +02:00
parent 678865cd6d
commit c8f60e5968
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
201 changed files with 32341 additions and 3357 deletions

19
vendor/github.com/gorilla/websocket/trace.go generated vendored Normal file
View file

@ -0,0 +1,19 @@
// +build go1.8
package websocket
import (
"crypto/tls"
"net/http/httptrace"
)
func doHandshakeWithTrace(trace *httptrace.ClientTrace, tlsConn *tls.Conn, cfg *tls.Config) error {
if trace.TLSHandshakeStart != nil {
trace.TLSHandshakeStart()
}
err := doHandshake(tlsConn, cfg)
if trace.TLSHandshakeDone != nil {
trace.TLSHandshakeDone(tlsConn.ConnectionState(), err)
}
return err
}