Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
haoqu.ma
/
gotty
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b4b9435b
authored
9 years ago
by
Iwasaki Yudai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't send EOT
It was a bug that sending EOT when closing connection.
1 parent
10d0bd8a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
app/app.go
app/app.go
View file @
b4b9435
...
...
@@ -216,10 +216,6 @@ func (app *App) generateHandler() func(w http.ResponseWriter, r *http.Request) {
go
func
()
{
<-
exit
if
app
.
PermitWrite
{
fio
.
Write
([]
byte
{
4
})
}
fio
.
Close
()
conn
.
Close
()
log
.
Printf
(
"Connection closed: %s"
,
r
.
RemoteAddr
)
}()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment