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 |
|
Adnan Maolood
|
2ece48b019
|
Move punycode functions to client.go
|
2021-02-21 09:43:23 -05:00 |
|
Adnan Maolood
|
a4b976c2dc
|
client: Copy only what is needed from the Request
|
2021-02-21 09:41:00 -05:00 |
|
Adnan Maolood
|
b784442b6d
|
Use StatusHandler in NotFoundHandler implementation
|
2021-02-21 09:32:07 -05:00 |
|
Adnan Maolood
|
57e541e103
|
fs: Remove unused context arguments
|
2021-02-21 09:29:21 -05:00 |
|
Adnan Maolood
|
c4c616518b
|
Add ErrCertificateExpired
|
2021-02-21 09:27:12 -05:00 |
|
Adnan Maolood
|
352ad71af8
|
Remove unused ErrInvalidURL
|
2021-02-21 09:23:30 -05:00 |
|
Adnan Maolood
|
0722f4008a
|
Update documentation
|
2021-02-21 00:56:37 -05:00 |
|
Adnan Maolood
|
e3d48b2cad
|
server: Return ErrServerClosed
|
2021-02-21 00:51:02 -05:00 |
|
Adnan Maolood
|
3fa55b52dd
|
server: Use separate context to cancel listeners
Use a separate context to cancel listeners so that cancelling the
listener does not cancel it's connections.
|
2021-02-21 00:41:41 -05:00 |
|
Adnan Maolood
|
6c701ad9fe
|
examples/stream: Showcase Server.Shutdown method
|
2021-02-21 00:29:41 -05:00 |
|
Adnan Maolood
|
7084a226f4
|
examples: Use context
|
2021-02-21 00:26:30 -05:00 |
|
Adnan Maolood
|
f6505ae4c4
|
server: Use explicit context arguments
Replace the Server.Context field with explicit context.Context arguments
to most Server functions.
|
2021-02-21 00:21:31 -05:00 |
|
Adnan Maolood
|
0c8c945eba
|
client: Inline result type
|
2021-02-21 00:20:42 -05:00 |
|
Adnan Maolood
|
7668345daa
|
server: Add Context field
|
2021-02-20 18:52:33 -05:00 |
|
Adnan Maolood
|
0baa66a4e7
|
Update examples
|
2021-02-20 18:30:49 -05:00 |
|
Adnan Maolood
|
d479c6391c
|
certificate.Store: Support "*" wildcard pattern
|
2021-02-20 18:26:15 -05:00 |
|
Adnan Maolood
|
423914d6e0
|
certificate.Store: Generate certificates by default
|
2021-02-20 18:25:02 -05:00 |
|
Adnan Maolood
|
15f3e764c5
|
server: Populate Request.Host field
|
2021-02-20 18:12:51 -05:00 |
|
Adnan Maolood
|
fadb2aed97
|
mux: Use StatusHandler instead of RedirectHandler
|
2021-02-20 16:45:37 -05:00 |
|
Adnan Maolood
|
252fe678fd
|
Rename RedirectHandler to StatusHandler
|
2021-02-20 16:44:42 -05:00 |
|
Adnan Maolood
|
351fb92c7e
|
Remove NotFound function
|
2021-02-20 16:42:18 -05:00 |
|
Adnan Maolood
|
2308c6407f
|
server: Make Request.RemoteAddr a net.Addr
A concrete type is better.
|
2021-02-20 16:27:35 -05:00 |
|
Adnan Maolood
|
8938038797
|
Make Status a type
Using a type is better than using an integer.
|
2021-02-20 16:16:32 -05:00 |
|
Adnan Maolood
|
99a8f09c22
|
TimeoutHandler: Use provided context
|
2021-02-20 15:52:54 -05:00 |
|
Adnan Maolood
|
e9a68917c9
|
handler: Make ServeGemini accept a Context
|
2021-02-20 15:49:14 -05:00 |
|
Adnan Maolood
|
eca2afeb32
|
examples/client: Remove dependency on go-xdg
|
2021-02-20 15:42:06 -05:00 |
|
Adnan Maolood
|
28b6232fbf
|
examples/client: Use context
|
2021-02-20 15:39:47 -05:00 |
|