Skip to content

Commit

Permalink
fix: 🐛 fix http1.1 packet
Browse files Browse the repository at this point in the history
  • Loading branch information
onionj committed Jun 10, 2024
1 parent 9d2d3d2 commit 80dbbef
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ import (

var version = "" // set it just in Makefile

const RESPONSE string = `HTTP/1.1 200 OK
Content-Length: %d
Server: Onion
Content-Type: %s; charset=utf-8
%s`
const RESPONSE string = "HTTP/1.1 200 OK\r\nContent-Length: %d\r\nServer: Onion\r\nContent-Type: %s; charset=utf-8\r\n\r\n%s"

const REFRESHPEROIDH = 200

Expand Down

0 comments on commit 80dbbef

Please sign in to comment.