| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | server: Disallow ServeConn usage after Shutdownv0.1.17 | Adnan Maolood | 2021-02-24 | 1 | -8/+13 |
| | | |||||
| * | server: Fix comment | Adnan Maolood | 2021-02-24 | 1 | -1/+1 |
| | | |||||
| * | Move ResponseWriter Conn and TLS methods to Request | Adnan Maolood | 2021-02-24 | 1 | -1/+1 |
| | | |||||
| * | Unexport NewResponseWriter | Adnan Maolood | 2021-02-23 | 1 | -1/+1 |
| | | |||||
| * | ResponseWriter: Add TLS and Conn methods | Adnan Maolood | 2021-02-23 | 1 | -0/+1 |
| | | |||||
| * | request: Remove TLS and Conn methods | Adnan Maolood | 2021-02-23 | 1 | -1/+0 |
| | | |||||
| * | Make ResponseWriter a struct | Adnan Maolood | 2021-02-23 | 1 | -1/+1 |
| | | | | | | Make ResponseWriter a struct again so that it can be extended in a backwards-compatible way. | ||||
| * | Update documentation | Adnan Maolood | 2021-02-23 | 1 | -2/+2 |
| | | |||||
| * | request: Add Conn and TLS methods | Adnan Maolood | 2021-02-23 | 1 | -10/+1 |
| | | |||||
| * | server: Cancel context on IO errors | Adnan Maolood | 2021-02-23 | 1 | -2/+17 |
| | | |||||
| * | server: Document use of context in ListenAndServev0.1.15-alpha.1 | Adnan Maolood | 2021-02-23 | 1 | -1/+2 |
| | | |||||
| * | server: Make ErrorLog an interface | Adnan Maolood | 2021-02-23 | 1 | -1/+3 |
| | | |||||
| * | server: Fix Shutdown with no active listeners | Adnan Maolood | 2021-02-23 | 1 | -0/+2 |
| | | | | | | Shutdown and Close will hang if there are no active listeners or connections. Try to close the done channel to avoid that. | ||||
| * | server: Mention certificate store | Adnan Maolood | 2021-02-23 | 1 | -0/+3 |
| | | |||||
| * | server: Document use of contexts | Adnan Maolood | 2021-02-22 | 1 | -4/+7 |
| | | |||||
| * | server: Remove unused constants | Adnan Maolood | 2021-02-22 | 1 | -6/+0 |
| | | |||||
| * | server: Return context.Canceled after Shutdown | Adnan Maolood | 2021-02-22 | 1 | -16/+10 |
| | | |||||
| * | server: Revert to closing contexts on Shutdown | Adnan Maolood | 2021-02-22 | 1 | -73/+89 |
| | | |||||
| * | server: Use channel to communicate shutdown | Adnan Maolood | 2021-02-22 | 1 | -74/+71 |
| | | |||||
| * | server: Don't close pending connections after Shutdown | Adnan Maolood | 2021-02-21 | 1 | -23/+31 |
| | | |||||
| * | server: Export ServeConn method | Adnan Maolood | 2021-02-21 | 1 | -43/+50 |
| | | |||||
| * | server: Don't recover from panics | Adnan Maolood | 2021-02-21 | 1 | -10/+0 |
| | | |||||
| * | server: Return ErrServerClosed | Adnan Maolood | 2021-02-21 | 1 | -0/+6 |
| | | |||||
| * | server: Use separate context to cancel listeners | Adnan Maolood | 2021-02-21 | 1 | -3/+3 |
| | | | | | | Use a separate context to cancel listeners so that cancelling the listener does not cancel it's connections. | ||||
| * | server: Use explicit context arguments | Adnan Maolood | 2021-02-21 | 1 | -138/+167 |
| | | | | | | Replace the Server.Context field with explicit context.Context arguments to most Server functions. | ||||
| * | server: Add Context field | Adnan Maolood | 2021-02-20 | 1 | -2/+12 |
| | | |||||
| * | server: Populate Request.Host field | Adnan Maolood | 2021-02-20 | 1 | -0/+1 |
| | | |||||
| * | server: Make Request.RemoteAddr a net.Addr | Adnan Maolood | 2021-02-20 | 1 | -1/+1 |
| | | | | | A concrete type is better. | ||||
| * | handler: Make ServeGemini accept a Context | Adnan Maolood | 2021-02-20 | 1 | -1/+3 |
| | | |||||
| * | server: Make Request.RemoteAddr a string | Adnan Maolood | 2021-02-20 | 1 | -1/+1 |
| | | |||||
| * | server: Clarify GetCertificate documentation | Adnan Maolood | 2021-02-19 | 1 | -2/+5 |
| | | |||||
| * | server: Remove Certificates field | Adnan Maolood | 2021-02-18 | 1 | -52/+4 |
| | | | | | | Use GetCertificate to retrieve certificates without consulting Certificates. | ||||
| * | server: Add Handler field and remove Handle methods | Adnan Maolood | 2021-02-17 | 1 | -76/+5 |
| | | |||||
| * | Add utility Handler functions | Adnan Maolood | 2021-02-17 | 1 | -29/+0 |
| | | |||||
| * | Redesign ResponseWriter interface | Adnan Maolood | 2021-02-17 | 1 | -2/+2 |
| | | |||||
| * | Move ResponseWriter.Flush to Flusher interface | Adnan Maolood | 2021-02-17 | 1 | -1/+1 |
| | | |||||
| * | server: Prevent adding Listeners after Close | Adnan Maolood | 2021-02-15 | 1 | -3/+3 |
| | | | | | | Check done after calling trackListener to prevent the listener from being registered after the server is closed. | ||||
| * | server: Avoid creating a new Listener after Close | Adnan Maolood | 2021-02-15 | 1 | -0/+4 |
| | | |||||
| * | server: Use separate mutex for handlers | Adnan Maolood | 2021-02-15 | 1 | -3/+9 |
| | | |||||
| * | server: Rename responder to handler | Adnan Maolood | 2021-02-15 | 1 | -5/+5 |
| | | |||||
| * | server: Recover from ServeGemini panics | Adnan Maolood | 2021-02-15 | 1 | -2/+13 |
| | | |||||
| * | server: Implement Close and Shutdown methods | Adnan Maolood | 2021-02-14 | 1 | -2/+143 |
| | | |||||
| * | server: Don't populate Request.Certificate field | Adnan Maolood | 2021-02-14 | 1 | -9/+1 |
| | | | | | Handlers should instead use the certificate provided in Request.TLS. | ||||
| * | Update documentation | Adnan Maolood | 2021-02-14 | 1 | -55/+87 |
| | | |||||
| * | server: Populate Request.RemoteAddr field | Adnan Maolood | 2021-02-13 | 1 | -0/+3 |
| | | |||||
| * | Make ResponseWriter an interface | Adnan Maolood | 2021-02-09 | 1 | -4/+4 |
| | | |||||
| * | Rename Responder to Handler | Adnan Maolood | 2021-02-08 | 1 | -23/+29 |
| | | |||||
| * | Make TLS field nil for unencrypted connections | Adnan Maolood | 2021-02-08 | 1 | -1/+2 |
| | | |||||
| * | server: Allow handling any hostname with "*" | Adnan Maolood | 2021-01-25 | 1 | -9/+26 |
| | | | | | | Allow registering a responder with the special pattern "*" to handle any hostname. | ||||
| * | server: Rename Register to Handle | Adnan Maolood | 2021-01-14 | 1 | -6/+6 |
| | | |||||