adnano
|
4864d2ad67
|
Update documentation
|
2021-02-23 17:52:47 -05:00 |
|
adnano
|
81803e8a44
|
Update examples/client.go
|
2021-02-23 17:52:34 -05:00 |
|
adnano
|
8b7bd5b2d7
|
Make Response an io.ReadCloser
|
2021-02-23 17:50:47 -05:00 |
|
adnano
|
6d49b91ab7
|
response: Add Close method
|
2021-02-23 17:32:23 -05:00 |
|
adnano
|
45ba4cc219
|
request: Fix documentation for TLS
|
2021-02-23 17:30:46 -05:00 |
|
adnano
|
45e432a71b
|
request: Add Conn and TLS methods
|
2021-02-23 17:29:50 -05:00 |
|
adnano
|
b2bbb83827
|
response: Add Conn and TLS methods
|
2021-02-23 16:36:17 -05:00 |
|
adnano
|
c0544f3038
|
server: Cancel context on IO errors
|
2021-02-23 16:06:57 -05:00 |
|
adnano
|
c791262bff
|
client: Move context handling to do
|
2021-02-23 16:01:29 -05:00 |
|
adnano
|
e31b8d0244
|
examples/client: Stream response body
|
2021-02-23 15:56:44 -05:00 |
|
adnano
|
0a4b302a13
|
client: Cancel context on IO errors
Also close the connection when the context expires.
|
2021-02-23 15:52:47 -05:00 |
|
adnano
|
36c5bbaebe
|
examples/stream: Simplify
|
2021-02-23 15:31:41 -05:00 |
|
adnano
|
98de802b3a
|
timeout: Don't recover from panics
|
2021-02-23 15:30:44 -05:00 |
|
adnano
|
a0d03c9088
|
response: Remove TLS field
|
2021-02-23 15:29:27 -05:00 |
|
adnano
|
440a6c6a0f
|
Update documentation
|
2021-02-23 14:29:37 -05:00 |
|
adnano
|
ded8cc0508
|
client: Use present tense in documentation
|
2021-02-23 12:21:05 -05:00 |
|
adnano
|
ce3202dc42
|
server: Document use of context in ListenAndServe
|
2021-02-23 12:10:55 -05:00 |
|
adnano
|
4d2adf4bd0
|
server: Make ErrorLog an interface
|
2021-02-23 11:10:35 -05:00 |
|
adnano
|
dfc7a8b3cf
|
ServeMux.HandleFunc: Take a HandlerFunc argument
|
2021-02-23 09:49:20 -05:00 |
|
adnano
|
72d53dfff1
|
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 |
|
adnano
|
77f7bc7f58
|
tofu: Update documentation
|
2021-02-23 09:21:21 -05:00 |
|
adnano
|
5b99c94075
|
text: Update documentation
|
2021-02-23 09:18:34 -05:00 |
|
adnano
|
5561898c6c
|
certificate.Store: Mention GetCertificate usage
|
2021-02-23 09:10:22 -05:00 |
|
adnano
|
b8ddf79438
|
server: Mention certificate store
|
2021-02-23 09:08:44 -05:00 |
|
adnano
|
685614304b
|
certificate: Update documentation
|
2021-02-23 09:05:45 -05:00 |
|
adnano
|
2e15b28224
|
certificate.Store: Update documentation
|
2021-02-23 09:03:38 -05:00 |
|
adnano
|
9cf950f7c0
|
certificate.Store: Check '*' scope last
|
2021-02-23 08:52:12 -05:00 |
|
adnano
|
67c25087da
|
certificate.Store: Allow certificate of scope '*'
|
2021-02-23 08:46:43 -05:00 |
|
adnano
|
c9479c10ed
|
Update examples
|
2021-02-23 08:43:47 -05:00 |
|
adnano
|
bc235d4534
|
certificate.Store: Remove client certificate support
|
2021-02-23 08:37:05 -05:00 |
|
adnano
|
5e1b4015ff
|
client: Document use of contexts
|
2021-02-22 21:35:02 -05:00 |
|
adnano
|
da88776f1d
|
server: Document use of contexts
|
2021-02-22 21:33:23 -05:00 |
|
adnano
|
c9eb24bd95
|
server: Remove unused constants
|
2021-02-22 21:28:18 -05:00 |
|
adnano
|
89a35924a0
|
server: Return context.Canceled after Shutdown
|
2021-02-22 21:27:44 -05:00 |
|
adnano
|
282120c368
|
examples/stream: Remove /shutdown handler
|
2021-02-22 21:16:13 -05:00 |
|
adnano
|
caf7d5f9be
|
examples/server: Shutdown on interrupt signal
|
2021-02-22 21:14:41 -05:00 |
|
adnano
|
941a2e719a
|
server: Revert to closing contexts on Shutdown
|
2021-02-22 21:13:44 -05:00 |
|
adnano
|
6d26abd514
|
examples/stream: Remove usage of Flusher
|
2021-02-22 20:07:37 -05:00 |
|
adnano
|
6f2571d626
|
server: Use channel to communicate shutdown
|
2021-02-22 20:06:19 -05:00 |
|
adnano
|
ff53535185
|
Rename ResponseWriter.MediaType to SetMediaType
|
2021-02-21 18:52:06 -05:00 |
|
adnano
|
65b7f95b30
|
client: Remove Timeout
Clients should use context.WithTimeout instead.
|
2021-02-21 16:47:56 -05:00 |
|
adnano
|
122fd434d6
|
Move Flush back to ResponseWriter
|
2021-02-21 16:06:56 -05:00 |
|
adnano
|
4a6d84fc03
|
server: Don't close pending connections after Shutdown
|
2021-02-21 16:05:10 -05:00 |
|
adnano
|
5df461b9ee
|
server: Export ServeConn method
|
2021-02-21 11:53:15 -05:00 |
|
adnano
|
61eef35c92
|
server: Don't recover from panics
|
2021-02-21 11:04:45 -05:00 |
|
adnano
|
f86f8efdae
|
fs: Use better error messages
|
2021-02-21 09:56:59 -05:00 |
|
adnano
|
787a2445a8
|
Move punycode functions to client.go
|
2021-02-21 09:43:23 -05:00 |
|
adnano
|
b90b5bf2dc
|
client: Copy only what is needed from the Request
|
2021-02-21 09:41:00 -05:00 |
|
adnano
|
070c258c8d
|
Use StatusHandler in NotFoundHandler implementation
|
2021-02-21 09:32:07 -05:00 |
|
adnano
|
68c2dddf74
|
fs: Remove unused context arguments
|
2021-02-21 09:29:21 -05:00 |
|