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