mirror of
https://github.com/xvzc/SpoofDPI.git
synced 2025-01-03 04:50:11 +00:00
fix: client hello
This commit is contained in:
parent
6d87e679ad
commit
4c0f5ca6c8
@ -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