-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 0.17.1 #2
base: master
Are you sure you want to change the base?
Conversation
* Use grace for signal handling and fork/spawn. - Add shutdown hooks for per app handling. - Wait group for server handler to ensure all requests are completed. - Only use for the server, not the harness. * Required output for harness to work.
params.go
Outdated
Files map[string][]*multipart.FileHeader // Files uploaded in a multipart form | ||
tmpFiles []*os.File // Temp files used during the request. | ||
JSON []byte // JSON data from request body | ||
JSON []byte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the comment?
server.go
Outdated
@@ -127,15 +131,15 @@ func Run(port int) { | |||
port = HTTPPort | |||
} | |||
|
|||
var network = "tcp" | |||
// var network = "tcp" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove this and below?
var localAddress string | ||
|
||
// If the port is zero, treat the address as a fully qualified local address. | ||
// This address must be prefixed with the network type followed by a colon, | ||
// e.g. unix:/tmp/app.socket or tcp6:::1 (equivalent to tcp6:0:0:0:0:0:0:0:1) | ||
if port == 0 { | ||
parts := strings.SplitN(address, ":", 2) | ||
network = parts[0] | ||
// network = parts[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still this...
No description provided.