mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2024-12-22 14:26:31 +00:00
fix: client hello
This commit is contained in:
parent
874256c9bc
commit
6b0547b431
@ -45,7 +45,7 @@ func (pxy *Proxy) handleHttps(lConn *net.TCPConn, exploit bool, initPkt *packet.
|
||||
log.Debug("[HTTPS] Sent 200 Connection Estabalished to ", lConn.RemoteAddr())
|
||||
|
||||
// Read client hello
|
||||
tmpBuffer := make([]byte, pxy.bufferSize)
|
||||
tmpBuffer := make([]byte, 4096)
|
||||
clientHello, err := ReadBytes(lConn, tmpBuffer)
|
||||
if err != nil {
|
||||
log.Debug("[HTTPS] Error reading client hello from the client", err)
|
||||
|
Loading…
Reference in New Issue
Block a user