Commit Graph

  • b488146cc6 Remove ResponseWriter.Hijack method Adnan Maolood 2021-02-24 08:22:12 -0500
  • 069b473c28 Implement TimeoutHandler by wrapping ResponseWriter Adnan Maolood 2021-02-24 08:18:21 -0500
  • 2c2d74bcb2 Only use fs.go when fs.FS is available Kaleb Elwert 2021-02-23 23:52:23 -0800
  • 3660698a4b Make ResponseWriter an interface Adnan Maolood 2021-02-24 00:13:44 -0500
  • 526d232ab0 Remove ErrHandlerTimeout Adnan Maolood 2021-02-23 22:15:19 -0500
  • f08efa330f Move TimeoutHandler to handler.go Adnan Maolood 2021-02-23 22:12:04 -0500
  • 310bd16344 Unexport NewResponseWriter Adnan Maolood 2021-02-23 22:02:45 -0500
  • 9eae88f00c Reimplement TimeoutHandler Adnan Maolood 2021-02-23 21:59:16 -0500
  • b386a9ba41 response: Change field names Adnan Maolood 2021-02-23 21:51:28 -0500
  • f28a63ff0c Add ResponseWriter.Hijack method Adnan Maolood 2021-02-23 21:36:29 -0500
  • d35dd3d867 ResponseWriter: Add TLS and Conn methods Adnan Maolood 2021-02-23 20:59:04 -0500
  • 75abb99518 request: Remove TLS and Conn methods Adnan Maolood 2021-02-23 20:57:53 -0500
  • e8d98ef4ec Move I/O utilities to io.go Adnan Maolood 2021-02-23 20:49:42 -0500
  • a65c3c3d4f Make ResponseWriter a struct Adnan Maolood 2021-02-23 20:40:22 -0500
  • 64f9381bbc handler: Mention when the context is canceled Adnan Maolood 2021-02-23 19:01:10 -0500
  • a34cf6dd1b handler: Mention ResponseWriter.Close method Adnan Maolood 2021-02-23 18:59:20 -0500
  • b3e8d9ccf3 client: Clarify usage of contexts Adnan Maolood 2021-02-23 18:56:18 -0500
  • a7c449a3cf Use HandlerFunc to implement StatusHandler Adnan Maolood 2021-02-23 18:51:58 -0500
  • 02bbedc330 Update documentation Adnan Maolood 2021-02-23 18:45:58 -0500
  • 5cf936d304 Update documentation Adnan Maolood 2021-02-23 17:52:47 -0500
  • f1f933925c Update examples/client.go Adnan Maolood 2021-02-23 17:52:34 -0500
  • e1c04ee605 Make Response an io.ReadCloser Adnan Maolood 2021-02-23 17:50:47 -0500
  • ae3fc2fc73 response: Add Close method Adnan Maolood 2021-02-23 17:32:23 -0500
  • 311233a012 request: Fix documentation for TLS Adnan Maolood 2021-02-23 17:30:46 -0500
  • c688defefd request: Add Conn and TLS methods Adnan Maolood 2021-02-23 17:27:54 -0500
  • 83c904913f response: Add Conn and TLS methods Adnan Maolood 2021-02-23 16:36:17 -0500
  • 833edaf63d server: Cancel context on IO errors Adnan Maolood 2021-02-23 16:06:57 -0500
  • d07e9d99d1 client: Move context handling to do Adnan Maolood 2021-02-23 16:01:29 -0500
  • 31e16d5a4c examples/client: Stream response body Adnan Maolood 2021-02-23 15:55:27 -0500
  • 9974071657 client: Cancel context on IO errors Adnan Maolood 2021-02-23 15:34:53 -0500
  • 09e3393e4c examples/stream: Simplify Adnan Maolood 2021-02-23 15:31:41 -0500
  • 1aa85d0683 timeout: Don't recover from panics Adnan Maolood 2021-02-23 15:30:44 -0500
  • 62e22b4cf2 response: Remove TLS field Adnan Maolood 2021-02-23 15:28:50 -0500
  • eee7156b3a Update documentation Adnan Maolood 2021-02-23 14:29:37 -0500
  • d8b5fa716a client: Use present tense in documentation Adnan Maolood 2021-02-23 12:21:05 -0500
  • 1080e95bb4 server: Document use of context in ListenAndServe v0.1.15-alpha.1 Adnan Maolood 2021-02-23 12:10:52 -0500
  • f722747abd server: Make ErrorLog an interface Adnan Maolood 2021-02-23 11:10:30 -0500
  • 4e25d2c3f9 ServeMux.HandleFunc: Take a HandlerFunc argument Adnan Maolood 2021-02-23 09:48:58 -0500
  • 5ab7617efd server: Fix Shutdown with no active listeners Adnan Maolood 2021-02-23 09:27:03 -0500
  • 89f0b3f94b tofu: Update documentation Adnan Maolood 2021-02-23 09:21:21 -0500
  • 964c17b99f text: Update documentation Adnan Maolood 2021-02-23 09:18:34 -0500
  • 32f40523ed certificate.Store: Mention GetCertificate usage Adnan Maolood 2021-02-23 09:10:19 -0500
  • 8190e819e8 server: Mention certificate store Adnan Maolood 2021-02-23 09:08:44 -0500
  • 871a8fe3d2 certificate: Update documentation Adnan Maolood 2021-02-23 09:05:45 -0500
  • a4849c8eef certificate.Store: Update documentation Adnan Maolood 2021-02-23 09:03:38 -0500
  • f6bccb156a certificate.Store: Check '*' scope last Adnan Maolood 2021-02-23 08:52:12 -0500
  • 3c9c087a25 certificate.Store: Allow certificate of scope '*' Adnan Maolood 2021-02-23 08:46:40 -0500
  • 6de05c4b5d Update examples Adnan Maolood 2021-02-23 08:43:41 -0500
  • 4c369072c8 certificate.Store: Remove client certificate support Adnan Maolood 2021-02-23 08:36:27 -0500
  • 27299f537d client: Document use of contexts Adnan Maolood 2021-02-22 21:35:02 -0500
  • d61cf6318a server: Document use of contexts Adnan Maolood 2021-02-22 21:33:23 -0500
  • 99e6c37d92 server: Remove unused constants Adnan Maolood 2021-02-22 21:28:18 -0500
  • 31077afbbe server: Return context.Canceled after Shutdown Adnan Maolood 2021-02-22 21:27:41 -0500
  • 3b8b5d6557 examples/stream: Remove /shutdown handler Adnan Maolood 2021-02-22 21:16:13 -0500
  • 9aebcd362e examples/server: Shutdown on interrupt signal Adnan Maolood 2021-02-22 21:14:41 -0500
  • 35f7958083 server: Revert to closing contexts on Shutdown Adnan Maolood 2021-02-22 21:13:42 -0500
  • c5b304216c examples/stream: Remove usage of Flusher Adnan Maolood 2021-02-22 20:07:15 -0500
  • 118e019df0 server: Use channel to communicate shutdown Adnan Maolood 2021-02-22 20:06:05 -0500
  • 2c64db3863 Rename ResponseWriter.MediaType to SetMediaType Adnan Maolood 2021-02-21 18:52:04 -0500
  • 420f01da2a client: Remove Timeout Adnan Maolood 2021-02-21 16:47:53 -0500
  • c3feafa90b Move Flush back to ResponseWriter Adnan Maolood 2021-02-21 16:06:56 -0500
  • 0a3db2ce41 server: Don't close pending connections after Shutdown Adnan Maolood 2021-02-21 16:05:08 -0500
  • 49dac34aff server: Export ServeConn method Adnan Maolood 2021-02-21 11:53:15 -0500
  • bb444fb364 server: Don't recover from panics Adnan Maolood 2021-02-21 11:04:28 -0500
  • a606c4fcc0 fs: Use better error messages Adnan Maolood 2021-02-21 09:56:59 -0500
  • 2ece48b019 Move punycode functions to client.go Adnan Maolood 2021-02-21 09:43:23 -0500
  • a4b976c2dc client: Copy only what is needed from the Request Adnan Maolood 2021-02-21 09:40:31 -0500
  • b784442b6d Use StatusHandler in NotFoundHandler implementation Adnan Maolood 2021-02-21 09:32:06 -0500
  • 57e541e103 fs: Remove unused context arguments Adnan Maolood 2021-02-21 09:29:21 -0500
  • c4c616518b Add ErrCertificateExpired Adnan Maolood 2021-02-21 09:27:12 -0500
  • 352ad71af8 Remove unused ErrInvalidURL Adnan Maolood 2021-02-21 09:23:30 -0500
  • 0722f4008a Update documentation v0.1.15-alpha Adnan Maolood 2021-02-21 00:56:37 -0500
  • e3d48b2cad server: Return ErrServerClosed Adnan Maolood 2021-02-21 00:51:02 -0500
  • 3fa55b52dd server: Use separate context to cancel listeners Adnan Maolood 2021-02-21 00:41:39 -0500
  • 6c701ad9fe examples/stream: Showcase Server.Shutdown method Adnan Maolood 2021-02-21 00:29:38 -0500
  • 7084a226f4 examples: Use context Adnan Maolood 2021-02-21 00:26:30 -0500
  • f6505ae4c4 server: Use explicit context arguments Adnan Maolood 2021-02-21 00:21:29 -0500
  • 0c8c945eba client: Inline result type Adnan Maolood 2021-02-21 00:20:42 -0500
  • 7668345daa server: Add Context field Adnan Maolood 2021-02-20 18:52:33 -0500
  • 0baa66a4e7 Update examples Adnan Maolood 2021-02-20 18:30:49 -0500
  • d479c6391c certificate.Store: Support "*" wildcard pattern Adnan Maolood 2021-02-20 18:25:37 -0500
  • 423914d6e0 certificate.Store: Generate certificates by default Adnan Maolood 2021-02-20 18:23:08 -0500
  • 15f3e764c5 server: Populate Request.Host field Adnan Maolood 2021-02-20 18:12:51 -0500
  • fadb2aed97 mux: Use StatusHandler instead of RedirectHandler Adnan Maolood 2021-02-20 16:45:37 -0500
  • 252fe678fd Rename RedirectHandler to StatusHandler Adnan Maolood 2021-02-20 16:44:42 -0500
  • 351fb92c7e Remove NotFound function Adnan Maolood 2021-02-20 16:42:18 -0500
  • 2308c6407f server: Make Request.RemoteAddr a net.Addr Adnan Maolood 2021-02-20 16:27:33 -0500
  • 8938038797 Make Status a type Adnan Maolood 2021-02-20 16:15:26 -0500
  • 99a8f09c22 TimeoutHandler: Use provided context Adnan Maolood 2021-02-20 15:52:54 -0500
  • e9a68917c9 handler: Make ServeGemini accept a Context Adnan Maolood 2021-02-20 15:49:07 -0500
  • eca2afeb32 examples/client: Remove dependency on go-xdg Adnan Maolood 2021-02-20 15:42:06 -0500
  • 28b6232fbf examples/client: Use context Adnan Maolood 2021-02-20 15:39:47 -0500
  • 3f4fd10b6d client: Make Get and Do accept a Context Adnan Maolood 2021-02-20 13:37:08 -0500
  • a7f958b20d server: Make Request.RemoteAddr a string Adnan Maolood 2021-02-20 13:31:55 -0500
  • 0ab236c736 client: Allow Request.Host to omit a port Adnan Maolood 2021-02-20 13:30:55 -0500
  • 5922cff2e5 Implement TimeoutHandler Adnan Maolood 2021-02-20 00:49:21 -0500
  • 64dbb3eecb server: Clarify GetCertificate documentation Adnan Maolood 2021-02-19 18:53:06 -0500
  • 69674fcdd5 examples/server: Use certificate.Store Adnan Maolood 2021-02-19 18:45:19 -0500
  • 66e03ef1e4 certificate: Implement GetCertificate callback Adnan Maolood 2021-02-19 18:37:28 -0500
  • 76967dad2e mux: Reject empty patterns Adnan Maolood 2021-02-19 18:06:54 -0500