Aliaksandr Valialkin
|
1274656fbc
|
Added missing parenthesis
|
2015-12-01 19:21:29 +02:00 |
|
Aliaksandr Valialkin
|
8c04e99110
|
typo fix
|
2015-12-01 19:19:50 +02:00 |
|
Aliaksandr Valialkin
|
bb2a7ef7e0
|
An attempt to fix markdown formatting
|
2015-12-01 19:19:28 +02:00 |
|
Aliaksandr Valialkin
|
f7e1344103
|
Fixed a typo
|
2015-12-01 19:15:42 +02:00 |
|
Aliaksandr Valialkin
|
ac99921fa1
|
An attempt to enable real cross-compilation in travis according to https://github.com/travis-ci/travis-ci/issues/2517#issuecomment-48725040
|
2015-12-01 18:59:11 +02:00 |
|
Aliaksandr Valialkin
|
d32baf2c3a
|
Updated test matrix in .travis.yml according to https://golang.org/doc/install/source#environment
|
2015-12-01 18:47:03 +02:00 |
|
Aliaksandr Valialkin
|
f4eb3bd97f
|
Issue #12: added initial .travis.yml
|
2015-12-01 18:34:19 +02:00 |
|
Aliaksandr Valialkin
|
495ed4f4a9
|
Issue #12: added missing import
|
2015-12-01 18:08:25 +02:00 |
|
Aliaksandr Valialkin
|
7d7b9de494
|
Minor formatting fixes
|
2015-12-01 18:07:08 +02:00 |
|
Aliaksandr Valialkin
|
19e12a36d9
|
Added 'switching from net/http' section into readme
|
2015-12-01 17:57:05 +02:00 |
|
Aliaksandr Valialkin
|
031543894c
|
Added a link to examples in README.md
|
2015-12-01 16:25:49 +02:00 |
|
Aliaksandr Valialkin
|
5f952e632f
|
Microoptimization: substituted switch by if in decodeArgAppend, so the function may be inlined
|
2015-12-01 16:23:33 +02:00 |
|
Aliaksandr Valialkin
|
235d4932da
|
Check for stale workers and connections every 10 seconds instead of every second. This should reduce cleaners' overhead
|
2015-12-01 13:42:53 +02:00 |
|
Aliaksandr Valialkin
|
a3965934a1
|
Simplify GC life by zeroing references to closed worker chans and client conns
|
2015-12-01 13:32:05 +02:00 |
|
Aliaksandr Valialkin
|
7e906e240d
|
Made TestClientFollowRedirects more robust by adding timeout on Get
|
2015-11-30 20:39:54 +02:00 |
|
Aliaksandr Valialkin
|
a3b2aca075
|
Added benchmarks for normalizeHeaderKey
|
2015-11-30 20:25:39 +02:00 |
|
Aliaksandr Valialkin
|
996917ddf4
|
gofmt
|
2015-11-30 20:25:28 +02:00 |
|
Aliaksandr Valialkin
|
51d53b7acc
|
Updated int <-> hex benchmarks
|
2015-11-30 20:10:52 +02:00 |
|
Aliaksandr Valialkin
|
bf20fa37e4
|
Fixed a typo
|
2015-11-30 20:07:22 +02:00 |
|
Aliaksandr Valialkin
|
192c5af2fa
|
Added a benchmark for int2hexbyte
|
2015-11-30 20:05:49 +02:00 |
|
Aliaksandr Valialkin
|
dd6422c56f
|
Optimized hexbyte2int
|
2015-11-30 19:57:59 +02:00 |
|
Aliaksandr Valialkin
|
d4b0c51398
|
Added a benchmark for hex->int conversion
|
2015-11-30 19:53:41 +02:00 |
|
Aliaksandr Valialkin
|
340f270beb
|
Fixed a typo
|
2015-11-30 19:51:54 +02:00 |
|
Aliaksandr Valialkin
|
66d1cfd6e3
|
bytesconv code prettifying
|
2015-11-30 19:42:21 +02:00 |
|
Aliaksandr Valialkin
|
3e3d68aed2
|
Code cleanup: removed redundant unhex
|
2015-11-30 19:33:32 +02:00 |
|
Aliaksandr Valialkin
|
3e74ae6293
|
Issue #8: added a question about request routing to FAQ
|
2015-11-30 19:03:57 +02:00 |
|
Aliaksandr Valialkin
|
d0289e11d9
|
Allow TCP addresses without port in HostClient
|
2015-11-30 18:22:45 +02:00 |
|
Aliaksandr Valialkin
|
f214dc327f
|
Scalability improvement: do not move read workers' queue when cleaning old workers. This should reduce latencies when server serves multi-million concurrent connections
|
2015-11-30 11:26:39 +02:00 |
|
Aliaksandr Valialkin
|
b501c24a98
|
Added an example for RequestCtx.TimeoutError
|
2015-11-30 00:14:57 +02:00 |
|
Aliaksandr Valialkin
|
c74b2d8d7e
|
Added an example for RequestCtx.Hijack
|
2015-11-29 23:40:02 +02:00 |
|
Aliaksandr Valialkin
|
8a57f94be9
|
Added initial server examples
|
2015-11-29 23:13:57 +02:00 |
|
Aliaksandr Valialkin
|
07a8bf90b4
|
Properly remove hijack hander from RequestCtx
|
2015-11-29 22:36:49 +02:00 |
|
Aliaksandr Valialkin
|
741affeb8a
|
added a benchmark for ParseUint
|
2015-11-29 13:38:35 +02:00 |
|
Aliaksandr Valialkin
|
90e07dd759
|
Improved AppendUint tests
|
2015-11-29 13:34:49 +02:00 |
|
Aliaksandr Valialkin
|
4cf82252e3
|
Added ability to filter out non-GET requests
|
2015-11-29 12:49:01 +02:00 |
|
Aliaksandr Valialkin
|
b5277095ae
|
Clear Response.SkipBody in Reset
|
2015-11-29 12:29:29 +02:00 |
|
Aliaksandr Valialkin
|
3a31c4bdef
|
cleaned up some cruft in Client.Do
|
2015-11-29 12:22:18 +02:00 |
|
Aliaksandr Valialkin
|
fb07cbbd31
|
Signify that Request and Response from RequestCtx and Header from Request and Response mustn't be copied by value
|
2015-11-29 12:18:33 +02:00 |
|
Aliaksandr Valialkin
|
29b732217a
|
Added CopyTo to Cookie for the sake of API consistency
|
2015-11-29 12:15:14 +02:00 |
|
Aliaksandr Valialkin
|
386ca71534
|
Added missing args.Reset in CopyTo
|
2015-11-29 12:14:54 +02:00 |
|
Aliaksandr Valialkin
|
1e26cafa01
|
Properly copy Request.uri and Request.postArgs
|
2015-11-29 12:11:12 +02:00 |
|
Aliaksandr Valialkin
|
3a406649a1
|
Retry PUT requests as they are idempotent according to http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
|
2015-11-29 12:07:46 +02:00 |
|
Aliaksandr Valialkin
|
1364e4c206
|
Added IsPut to RequestCtx to be consistent with IsGet and IsPost
|
2015-11-29 11:37:05 +02:00 |
|
Aliaksandr Valialkin
|
6a340b7334
|
Added request PUT method support
|
2015-11-29 11:32:44 +02:00 |
|
Aliaksandr Valialkin
|
8b35f1d922
|
Added 'switching from net/http' documentation section to TODO
|
2015-11-28 23:43:18 +02:00 |
|
Aliaksandr Valialkin
|
c04fdb47a5
|
Test writeHexInt for 32-bit and 64-bit architectures
|
2015-11-28 23:11:07 +02:00 |
|
Aliaksandr Valialkin
|
5d4db43538
|
Added a benchmark for writeHexInt
|
2015-11-28 23:07:25 +02:00 |
|
Aliaksandr Valialkin
|
974a1c99ce
|
Optimized AppendUint by using stack-based buffer instead of uintBufPool
|
2015-11-28 23:00:10 +02:00 |
|
Aliaksandr Valialkin
|
1f97e8d9d6
|
Added timing test for AppendUint
|
2015-11-28 22:58:52 +02:00 |
|
Aliaksandr Valialkin
|
b969bc45fd
|
Added a net/http advantage - it works on go older than 1.5
|
2015-11-28 22:29:47 +02:00 |
|