Adnan Maolood
|
a34cf6dd1b
|
handler: Mention ResponseWriter.Close method
|
2021-02-23 18:59:20 -05:00 |
|
Adnan Maolood
|
b3e8d9ccf3
|
client: Clarify usage of contexts
|
2021-02-23 18:56:18 -05:00 |
|
Adnan Maolood
|
a7c449a3cf
|
Use HandlerFunc to implement StatusHandler
|
2021-02-23 18:52:00 -05:00 |
|
Adnan Maolood
|
02bbedc330
|
Update documentation
|
2021-02-23 18:45:58 -05:00 |
|
Adnan Maolood
|
5cf936d304
|
Update documentation
|
2021-02-23 17:52:47 -05:00 |
|
Adnan Maolood
|
f1f933925c
|
Update examples/client.go
|
2021-02-23 17:52:34 -05:00 |
|
Adnan Maolood
|
e1c04ee605
|
Make Response an io.ReadCloser
|
2021-02-23 17:50:47 -05:00 |
|
Adnan Maolood
|
ae3fc2fc73
|
response: Add Close method
|
2021-02-23 17:32:23 -05:00 |
|
Adnan Maolood
|
311233a012
|
request: Fix documentation for TLS
|
2021-02-23 17:30:46 -05:00 |
|
Adnan Maolood
|
c688defefd
|
request: Add Conn and TLS methods
|
2021-02-23 17:29:50 -05:00 |
|
Adnan Maolood
|
83c904913f
|
response: Add Conn and TLS methods
|
2021-02-23 16:36:17 -05:00 |
|
Adnan Maolood
|
833edaf63d
|
server: Cancel context on IO errors
|
2021-02-23 16:06:57 -05:00 |
|
Adnan Maolood
|
d07e9d99d1
|
client: Move context handling to do
|
2021-02-23 16:01:29 -05:00 |
|
Adnan Maolood
|
31e16d5a4c
|
examples/client: Stream response body
|
2021-02-23 15:56:44 -05:00 |
|
Adnan Maolood
|
9974071657
|
client: Cancel context on IO errors
Also close the connection when the context expires.
|
2021-02-23 15:52:47 -05:00 |
|
Adnan Maolood
|
09e3393e4c
|
examples/stream: Simplify
|
2021-02-23 15:31:41 -05:00 |
|
Adnan Maolood
|
1aa85d0683
|
timeout: Don't recover from panics
|
2021-02-23 15:30:44 -05:00 |
|
Adnan Maolood
|
62e22b4cf2
|
response: Remove TLS field
|
2021-02-23 15:29:27 -05:00 |
|
Adnan Maolood
|
eee7156b3a
|
Update documentation
|
2021-02-23 14:29:37 -05:00 |
|
Adnan Maolood
|
d8b5fa716a
|
client: Use present tense in documentation
|
2021-02-23 12:21:05 -05:00 |
|
Adnan Maolood
|
1080e95bb4
|
server: Document use of context in ListenAndServe
|
2021-02-23 12:10:55 -05:00 |
|
Adnan Maolood
|
f722747abd
|
server: Make ErrorLog an interface
|
2021-02-23 11:10:35 -05:00 |
|
Adnan Maolood
|
4e25d2c3f9
|
ServeMux.HandleFunc: Take a HandlerFunc argument
|
2021-02-23 09:49:20 -05:00 |
|
Adnan Maolood
|
5ab7617efd
|
server: Fix Shutdown with no active listeners
Shutdown and Close will hang if there are no active listeners or
connections. Try to close the done channel to avoid that.
|
2021-02-23 09:28:14 -05:00 |
|
Adnan Maolood
|
89f0b3f94b
|
tofu: Update documentation
|
2021-02-23 09:21:21 -05:00 |
|
Adnan Maolood
|
964c17b99f
|
text: Update documentation
|
2021-02-23 09:18:34 -05:00 |
|
Adnan Maolood
|
32f40523ed
|
certificate.Store: Mention GetCertificate usage
|
2021-02-23 09:10:22 -05:00 |
|
Adnan Maolood
|
8190e819e8
|
server: Mention certificate store
|
2021-02-23 09:08:44 -05:00 |
|
Adnan Maolood
|
871a8fe3d2
|
certificate: Update documentation
|
2021-02-23 09:05:45 -05:00 |
|
Adnan Maolood
|
a4849c8eef
|
certificate.Store: Update documentation
|
2021-02-23 09:03:38 -05:00 |
|
Adnan Maolood
|
f6bccb156a
|
certificate.Store: Check '*' scope last
|
2021-02-23 08:52:12 -05:00 |
|
Adnan Maolood
|
3c9c087a25
|
certificate.Store: Allow certificate of scope '*'
|
2021-02-23 08:46:43 -05:00 |
|
Adnan Maolood
|
6de05c4b5d
|
Update examples
|
2021-02-23 08:43:47 -05:00 |
|
Adnan Maolood
|
4c369072c8
|
certificate.Store: Remove client certificate support
|
2021-02-23 08:37:05 -05:00 |
|
Adnan Maolood
|
27299f537d
|
client: Document use of contexts
|
2021-02-22 21:35:02 -05:00 |
|
Adnan Maolood
|
d61cf6318a
|
server: Document use of contexts
|
2021-02-22 21:33:23 -05:00 |
|
Adnan Maolood
|
99e6c37d92
|
server: Remove unused constants
|
2021-02-22 21:28:18 -05:00 |
|
Adnan Maolood
|
31077afbbe
|
server: Return context.Canceled after Shutdown
|
2021-02-22 21:27:44 -05:00 |
|
Adnan Maolood
|
3b8b5d6557
|
examples/stream: Remove /shutdown handler
|
2021-02-22 21:16:13 -05:00 |
|
Adnan Maolood
|
9aebcd362e
|
examples/server: Shutdown on interrupt signal
|
2021-02-22 21:14:41 -05:00 |
|
Adnan Maolood
|
35f7958083
|
server: Revert to closing contexts on Shutdown
|
2021-02-22 21:13:44 -05:00 |
|
Adnan Maolood
|
c5b304216c
|
examples/stream: Remove usage of Flusher
|
2021-02-22 20:07:37 -05:00 |
|
Adnan Maolood
|
118e019df0
|
server: Use channel to communicate shutdown
|
2021-02-22 20:06:19 -05:00 |
|
Adnan Maolood
|
2c64db3863
|
Rename ResponseWriter.MediaType to SetMediaType
|
2021-02-21 18:52:06 -05:00 |
|
Adnan Maolood
|
420f01da2a
|
client: Remove Timeout
Clients should use context.WithTimeout instead.
|
2021-02-21 16:47:56 -05:00 |
|
Adnan Maolood
|
c3feafa90b
|
Move Flush back to ResponseWriter
|
2021-02-21 16:06:56 -05:00 |
|
Adnan Maolood
|
0a3db2ce41
|
server: Don't close pending connections after Shutdown
|
2021-02-21 16:05:10 -05:00 |
|
Adnan Maolood
|
49dac34aff
|
server: Export ServeConn method
|
2021-02-21 11:53:15 -05:00 |
|
Adnan Maolood
|
bb444fb364
|
server: Don't recover from panics
|
2021-02-21 11:04:45 -05:00 |
|
Adnan Maolood
|
a606c4fcc0
|
fs: Use better error messages
|
2021-02-21 09:56:59 -05:00 |
|