Leonid Bugaev
06ec570286
Merge remote-tracking branch 'upstream/master'
2017-07-20 21:09:04 +03:00
Leonid Bugaev
163bf1f1c0
0.16 updates
2017-06-29 21:55:49 +02:00
Leonid Bugaev
74225ebb22
Rename all package imports from gor to goreplay
2017-05-01 17:56:50 +02:00
Leonid Bugaev
dcc7af4c09
Fix output-file sizeLimit
2017-04-07 15:09:16 +02:00
Leonid Bugaev
0fb98a8f48
Improve http handling
2017-04-07 14:48:12 +02:00
Leonid Bugaev
a2a1bd5c67
Fix handling of 304 responses if EOF error received
2017-03-10 09:32:24 +01:00
Leonid Bugaev
5a8d56e10b
Improve http client error handling
...
If replaying too fast, we can result in no TCP error, but actual
response is empty or garbage.
2017-02-26 20:55:40 +03:00
Leonid Bugaev
043c0b7436
few fmt fixes
2017-01-23 13:33:36 +03:00
Leonid Bugaev
0a74db6aae
Disallow zero timeout (also used fix tests)
2016-12-18 20:09:24 +03:00
Yohan Legat
12043e5a01
Resolve buger/gor#394 : Timeout for NO_CONTENT responses
...
1xx, 204 and 304 HTTP responses MUST NOT include a message body (see [RFC-2616](https://tools.ietf.org/html/rfc2616#section-4.4 )).
Also, a server MAY send a Content-Length header field in a 304 (Not Modified) and MUST NOT send a Content-Length header field in any response with a status code of 1xx (Informational) or 204 (No Content) (see [RFC-7230](https://tools.ietf.org/html/rfc7230#section-3.3.2 ))
2016-12-01 12:08:32 +01:00
Daniel Solano Gómez
963f7a73d7
Add basic SNI support
...
By adding the server name as part of the TLS client configuration, gor
will now support connecting to hosts that require SNI (such as Amazon
API Gateway).
2016-11-23 09:55:54 -05:00
Leonid Bugaev and GitHub
a1174a159c
Do not add port to Host header for https
2016-11-14 17:47:30 +03:00
manjeshnilange and Leonid Bugaev
22466d4028
Adding ability to output http client to close connection on specific … ( #375 )
...
* Adding ability to output http client to close connection on specific response status
* Addressed review comments
2016-10-25 22:06:43 +03:00
Huu Khiem (Mark) and Leonid Bugaev
0831476beb
Set default value for output-http-timeout at declaration ( #371 )
...
The actual default is 5s, set in the call of NewHTTPClient,
even if we use `--output-http--timeout=0`.
It's clearer to user if this value id declared upfront.
2016-09-27 10:40:26 +03:00
Leonid Bugaev
1674b58707
Fix basic http auth
2016-08-31 17:27:18 +03:00
Leonid Bugaev
c4271ffaf4
Connection timeout should inherit Timeout
2016-06-12 16:19:51 +05:00
Leonid Bugaev
2836b555e3
Fix http client when headers are sent in separate chunks
2016-05-19 11:54:19 +05:00
Ricardo Galli and Leonid Bugaev
38535a2055
Added http client buffer size ( #249 )
2016-05-19 11:33:17 +06:00
Leonid Bugaev
3fa1b66fc5
Fix typo
2016-05-19 10:31:44 +05:00
Leonid Bugaev
7496692d76
Fix hound
2016-05-19 10:31:06 +05:00
Leonid Bugaev
cdbf3b910e
Apply fmt and fix tests
2016-05-19 10:26:39 +05:00
Leonid Bugaev
fe90601bff
Improve HTTP client compliance
2016-05-19 10:10:15 +05:00
Leonid Bugaev
663bd8b95d
fmt fixes
2016-05-13 14:46:27 +05:00
Leonid Bugaev
19bfb8211c
Use latest libpcap and ensure to close sockets
2016-05-13 14:33:20 +05:00
Leonid Bugaev
a8731f290c
Fix broken pipe error
2016-04-29 16:01:30 +05:00
Leonid Bugaev
afc8f7852e
Libpcap support and vairous bugfixes
...
Merge #260
2016-04-29 14:48:17 +05:00
Leonid Bugaev
00feb08165
Add benchmark for testing packet capture (and its quality)
2016-04-26 17:18:09 +05:00
Leonid Bugaev
f378def0b3
Improve raw input GC
2015-09-02 20:33:12 +03:00
Leonid Bugaev
d96e3393ec
Handle HTTP error codes
2015-08-17 20:36:59 +03:00
Leonid Bugaev
4f2341b2d3
Remove more debug
2015-08-15 08:06:13 +03:00
Leonid Bugaev
0009555d96
Apply fmt
2015-08-11 11:08:14 +03:00
Leonid Bugaev
5667cd35c6
Merge branch 'master' into input-modifier
2015-08-10 22:57:33 +03:00
Leonid Bugaev
d6b5c675cf
Do not add 80 port to host string
2015-08-09 11:07:27 +03:00
Leonid Bugaev
a9be1811ea
Merge branch 'master' into input-modifier
...
Conflicts:
Makefile
2015-08-03 19:59:03 +03:00
Leonid Bugaev
f92a0b1242
Make buffer size configurable
2015-08-03 18:31:09 +03:00
Leonid Bugaev
f6864d05a0
More debugging
2015-08-03 18:20:59 +03:00
Leonid Bugaev
961d5a754c
Style fixes
2015-08-03 18:08:35 +03:00
Leonid Bugaev
dd68d07c75
Fix large responses
2015-08-03 18:01:46 +03:00
Leonid Bugaev
083c97a9c4
Option to configure timeout
2015-07-31 22:39:01 +03:00
Leonid Bugaev
a79e54c5f1
Do not set http header if it explicitly set
2015-07-31 21:41:06 +03:00
Leonid Bugaev
5cc4228dcd
Merge branch 'master' into input-modifier
...
Conflicts:
Dockerfile
emitter.go
http_client.go
plugins.go
proto/proto.go
2015-07-21 09:49:37 +05:00
Leonid Bugaev
125d9db834
Next batch
2015-07-17 11:30:43 +05:00
Leonid Bugaev
6647481fe0
Improve style and docs for proto package
2015-07-13 09:31:11 +05:00
Leonid Bugaev
d0873d1453
Try to add select
2015-07-11 18:36:00 +05:00
Leonid Bugaev
6b9c9b91e3
Improve performance of input-raw and improve handing of large payloads
2015-07-11 09:47:26 +05:00
Leonid Bugaev
acaf935cae
Fix tests
2015-07-10 17:17:16 +05:00
Leonid Bugaev
0fe72cc432
Improve http-client reliability and improve debug
2015-07-10 17:13:11 +05:00
Leonid Bugaev
f812120dfc
Support only 1 middleware and rewrite tests
2015-07-10 10:24:00 +05:00
Leonid Bugaev
29035d4518
Allow multiple url regexp and apply fmt
2015-07-09 16:05:00 +05:00
Leonid Bugaev
07c65117ad
Handle proxy request format and HTTP 1.0 requests
2015-07-08 18:26:14 +05:00