Aliaksandr Valialkin
|
764a74e2ec
|
Added ServeFile and ServeFileUncompressed to be on par with net/http
|
2016-01-17 23:12:38 +02:00 |
|
Aliaksandr Valialkin
|
7320fe3bd7
|
Properly update Request.URI() after Request.SetRequestURI() call
|
2016-01-17 23:09:11 +02:00 |
|
Aliaksandr Valialkin
|
548a76235d
|
Removed accidentally copy-n-pasted misleading documentation line from InmemoryListener.Close. Thanks to @Annonomus-Penguin for catching this.
|
2016-01-17 01:01:35 +02:00 |
|
Aliaksandr Valialkin
|
81b5321d14
|
Removed misleading ConnectionCloseReal method from RequestHeader
|
2016-01-17 00:43:34 +02:00 |
|
Aliaksandr Valialkin
|
224aecb81d
|
Added explicit test for keepalive and non-keepalive HTTP/1.0 response
|
2016-01-17 00:30:13 +02:00 |
|
Aliaksandr Valialkin
|
e3369ec00b
|
Dial all the resolved TCP addresses in round-robin manner until the connection is established
|
2016-01-15 19:41:09 +02:00 |
|
Aliaksandr Valialkin
|
576ba8868b
|
Return immediately on ErrDialTimeout when dialing HostClient hosts
|
2016-01-15 19:12:09 +02:00 |
|
Aliaksandr Valialkin
|
a5f4f2e007
|
Dial all available addresses in HostClient.Addrs before giving up
|
2016-01-15 19:08:40 +02:00 |
|
Aliaksandr Valialkin
|
a1ea9c0808
|
Limit the maximum time for establishing TCP connection in Dial and DialDualStack
|
2016-01-15 19:07:33 +02:00 |
|
Aliaksandr Valialkin
|
c78eb83578
|
Client: re-send idempotent requests after more unsuccessful cases
|
2016-01-15 18:30:13 +02:00 |
|
Aliaksandr Valialkin
|
b0ded12af6
|
Do not create new connection on idempotent requests' retry, since it has little sense
|
2016-01-15 16:56:30 +02:00 |
|
Aliaksandr Valialkin
|
5b39086815
|
Merge pull request #38 from sschepens/master
Don't assume Content-Encoding: identity when request is 1xx, 204 or 304
|
2016-01-14 13:00:43 +02:00 |
|
Aliaksandr Valialkin
|
485098e5dc
|
Exported AppendQuotedArg
|
2016-01-13 18:17:03 +02:00 |
|
Aliaksandr Valialkin
|
37ad7e0e32
|
typo fix
|
2016-01-13 18:03:02 +02:00 |
|
Aliaksandr Valialkin
|
92b182c4b1
|
Added ability to limit the maximum connection duration in HostClient
|
2016-01-13 14:06:05 +02:00 |
|
Aliaksandr Valialkin
|
3e5866274d
|
use Request.ConnectionClose instead of Request.Header.ConnectionClose
|
2016-01-13 13:41:47 +02:00 |
|
Sebastian Schepens
|
fa88c5b853
|
Don't assume Content-Encoding: identity when request is 1xx, 204 or 304
|
2016-01-12 15:23:14 -03:00 |
|
Aliaksandr Valialkin
|
c8f577c7f1
|
Added ability to balance requests among multiple upstream hosts via HostClient
|
2016-01-12 11:08:24 +02:00 |
|
Aliaksandr Valialkin
|
b6594defaa
|
Added TLSConnectionState function to RequestCtx for verifying client certificates
|
2016-01-11 19:05:09 +02:00 |
|
Aliaksandr Valialkin
|
c7ac190d63
|
Use SO_REUSEPORT name instead of reusePort
|
2016-01-11 17:08:32 +02:00 |
|
Aliaksandr Valialkin
|
4a3c401fd8
|
fixed a typo
|
2016-01-11 15:38:30 +02:00 |
|
Aliaksandr Valialkin
|
bdd5902714
|
Issue #36: added InmemoryListener, which may be used for writing client<->server tests and fast in-process client<->server communication
|
2016-01-11 15:35:45 +02:00 |
|
Aliaksandr Valialkin
|
ce706fbda7
|
Improved client benchmarks: explicitly set the maximum number of concurrent client connections, added end-to-end benchmarks for inmemory dialer<->listener
|
2016-01-11 14:21:28 +02:00 |
|
Aliaksandr Valialkin
|
81ebe4ca8f
|
Return clearer error when TLS certFile and/or keyFile cannot be loaded
|
2016-01-08 17:40:05 +02:00 |
|
Aliaksandr Valialkin
|
37931cad28
|
Added ServeTLS helper to Server
|
2016-01-08 17:31:59 +02:00 |
|
Aliaksandr Valialkin
|
10cf13f175
|
Merge pull request #35 from rafax/patch-1
Fix typo in README.md
|
2016-01-08 16:01:09 +02:00 |
|
Aliaksandr Valialkin
|
86f4530069
|
Added pretty logging to fileserver example
|
2016-01-08 15:40:26 +02:00 |
|
Aliaksandr Valialkin
|
4326e27e9a
|
Added TLS support to example fileserver
|
2016-01-08 15:23:09 +02:00 |
|
Aliaksandr Valialkin
|
910e5a9d2a
|
Added FormFile and FormValue helpers to RequestCtx in order to be on par with net/http
|
2016-01-08 15:03:02 +02:00 |
|
Aliaksandr Valialkin
|
86ae7f9eb2
|
Allow parsing post args for non-POST requests (for instance, for PUT requests)
|
2016-01-08 14:31:49 +02:00 |
|
Aliaksandr Valialkin
|
a175504c5f
|
improved 'connection: close' server tests
|
2016-01-08 13:52:28 +02:00 |
|
Aliaksandr Valialkin
|
3bd3552062
|
Added ResetConnectionClose() to RequestHeader and ResponseHeader
|
2016-01-08 13:43:44 +02:00 |
|
Aliaksandr Valialkin
|
414149027d
|
gofmt
|
2016-01-08 13:39:51 +02:00 |
|
Aliaksandr Valialkin
|
56a0483095
|
FS: limit maximum file size, which can be compressed
|
2016-01-08 12:57:42 +02:00 |
|
Aliaksandr Valialkin
|
bbb68f32d1
|
FS: reduced miminum compression ratio for triggering response compression. This should reduce CPU usage for files with low compression ratio
|
2016-01-08 12:52:35 +02:00 |
|
Rafał Gajdulewicz
|
7ec7834d5d
|
Fix typo in README.md
|
2016-01-08 09:29:54 +01:00 |
|
Aliaksandr Valialkin
|
8a8dfcb157
|
It looks like travis forgot about 'tip' golang version. Switching to 1.5.2
|
2016-01-06 17:22:54 +02:00 |
|
Aliaksandr Valialkin
|
10c0d9fdcf
|
Point to fasthttpadaptor docs instead of source code in README
|
2016-01-06 17:14:15 +02:00 |
|
Aliaksandr Valialkin
|
d53b8f0f3c
|
Added net/http -> fasthttp converter for quick and easy switching to fasthttp
|
2016-01-06 17:11:43 +02:00 |
|
Aliaksandr Valialkin
|
7d7c17c8d7
|
Do not send response body (and content-length) for 1xx, 204 and 304 responses
|
2016-01-06 15:22:52 +02:00 |
|
Aliaksandr Valialkin
|
ac22368912
|
Added ProxyHandler to TODO
|
2016-01-06 12:34:52 +02:00 |
|
Aliaksandr Valialkin
|
c5d9023043
|
Issue #30: properly handle content-length for HEAD responses
|
2016-01-05 18:02:50 +02:00 |
|
Aliaksandr Valialkin
|
7f5b710e05
|
Issue #31: do not send response body for HEAD requests
|
2016-01-05 16:53:38 +02:00 |
|
Aliaksandr Valialkin
|
84af73053f
|
Added tests for RequestCtx.*UserValue* functions
|
2016-01-05 15:59:33 +02:00 |
|
Aliaksandr Valialkin
|
dbe26b3541
|
Do not set Content-Length in GET and HEAD requests according to pull request #31 (thanks to @buaazp )
|
2016-01-05 15:47:30 +02:00 |
|
Aliaksandr Valialkin
|
2633e1c90d
|
Mention that example fileserver support byte range responses
|
2016-01-05 15:30:34 +02:00 |
|
Aliaksandr Valialkin
|
2ff945b9ea
|
Properly reset scratch buffer for header values
|
2016-01-05 14:30:05 +02:00 |
|
Aliaksandr Valialkin
|
da62899f14
|
Removed obsolete startPos verification
|
2016-01-05 14:22:17 +02:00 |
|
Aliaksandr Valialkin
|
fc2dc7b3f1
|
Added WriteMultipartForm helper
|
2016-01-05 14:12:23 +02:00 |
|
Aliaksandr Valialkin
|
8a83396595
|
FS: added support for byte range requests
|
2016-01-05 14:05:07 +02:00 |
|