20 Commits (b288eaddb30bcecf2f033d1a550f8f72f06acde9)

Author SHA1 Message Date
Anis Elleuch fc6f804865 server-mux: Keep listening after Accept() err (#3613) 8 years ago
Anis Elleuch 47358e3104 server-mux: Add tcp idle read timeout (#3607) 8 years ago
Harshavardhana 3640c63289 server/mux: PeekProtocol() should return error and connection be closed. (#3608) 8 years ago
Harshavardhana a17f1e875c server/mux: Close the connection even if buffer.Flush() returns error. (#3599) 8 years ago
Harshavardhana 62f8343879 Add constants for commonly used values. (#3588) 8 years ago
Harshavardhana b580ad24e2 server/http: Add missing keep alive for incoming tcp connections. (#3585) 8 years ago
Anis Elleuch 5c9a95df32 srv-mux: do not print peek protocol EOF err msg (#3402) 8 years ago
Anis Elleuch 98e79b4b50 Use 307 StatusTemporaryRedirect to redirect clients from http to https with forcing them to keep HTTP Verb (#3246) 8 years ago
Harshavardhana 2f7fb78692 rpc: Our rpcClient should make an attempt to reconnect. (#3221) 8 years ago
Anis Elleuch 5ff30777e1 Rewrite connection muxer peek process to avoid server blocking by silent clients (#3187) 8 years ago
Anis Elleuch 754c0770d6 Merge ListenAndServe and ListenAndServeTLS for simplification purpose (#3186) 8 years ago
Harshavardhana 1105508453 connection muxer should use bufio.Reader to be simpler. (#3177) 8 years ago
Harshavardhana 1ba497950c Fix net.Listener to fully close the underlying socket. (#3171) 8 years ago
Harshavardhana d192044915 router: PathPrefix router was wrong. (#3172) 8 years ago
Harshavardhana 9bb799462e Start all listeners when a given host resolves to multiple IPs. (#3145) 8 years ago
Harshavardhana 3cfb23750a control: Implement service command 'stop,restart,status'. (#2883) 8 years ago
Harshavardhana bc8f34bfe7 server/mux: Remove unused waitgroup from listenerMux. (#2614) 8 years ago
Harshavardhana 2020afd200 server: http.Server do not add deadlines causes issues. (#2581) 8 years ago
Harshavardhana c39d3db7a0 server/tls: allocate tls.Config{} properly. (#2537) 8 years ago
Harshavardhana bccf549463 server: Move all the top level files into cmd folder. (#2490) 8 years ago
Jesse Lucas 0b7dfab17a Refactoring MuxServer Close() method to always wait for conns to close before returning. Adding lock around ServerMux listener setting to protect against data race. Adding additional tests to server-mux_test.go to make sure open connections are closed and for ListenAndServe. (#2467) 8 years ago
Jesse Lucas ef0a108dde Graceful shutdown for ServerMux (#2341) 8 years ago
Anis Elleuch b0b919a1d6 Server http and https on the same port using a customized server (#2247) 8 years ago