[gwstester] clean

This commit is contained in:
xdrm-brackets 2018-04-25 16:06:14 +02:00
parent be8bfa012e
commit 2e90ff9cae
1 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,6 @@
package main
import (
"bufio"
"fmt"
"net"
"os"
@ -44,15 +43,13 @@ func manageClient(sock net.Conn) {
for {
reader := bufio.NewReader(sock)
_, err := request.Parse(reader)
req, err := request.Build(sock)
if err != nil {
panic(err)
}
fmt.Printf("Upgrade Request: %v\n", req)
break;
// sock.Write([]byte("coucou"))
}