Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Nelson 15dd43344d
Fix error reading closed response body on redirect (#6372) 2019-09-10 11:04:24 -07:00
Pavel Frolov 50dc8d5659 Add content_length metric to http_response input plugin (#6261) 2019-08-16 15:45:20 -07:00
George 8d04cb76fd Add support for interface field in http_response input plugin (#6006) 2019-06-19 13:40:53 -07:00
maxunt 96cb0aaea0 Fix unit tests on Darwin (#4458) 2018-07-27 18:29:54 -07:00
Daniel Nelson 0aad487cab
Fix go vet and use go test -race 2018-04-02 14:30:46 -07:00
Germán Jaber 81a93fcddf Add result related tags and fields to http_response (#3814) 2018-03-08 14:55:59 -08:00
Frederick Roth 91f2764cd5 Add result_type field for http_response input (#2814) 2017-06-06 13:39:07 -07:00
Frederick Roth ac5ac3161f Fixed inconsistency between HasIntField and IntField (#2813) 2017-05-16 15:25:30 -07:00
Daniel Nelson 1931aac284
Fix http_response input creation of transport on every gather 2017-05-09 16:23:38 -07:00
Patrick Hemmer 1402c158b7 remove sleep from tests (#2555) 2017-03-24 12:03:36 -07:00
Len Smith 9003efc3fa http_response : Add in support for looking for substring in response (#2204)
* Add in support for looking for substring in response

* Add note to CHANGELOG.md

* Switch from substring match to regex match

* Requested code changes

* Make requested changes and refactor to avoid nested if-else.

* Convert tabs to space and compile regex once
2017-02-01 14:21:08 +00:00
Cameron Sparr c44ecf54a5 Utilize timeout in net_response plugin.
Also changing the net_response and http_response plugins to only accept
duration strings for their timeout parameters. This is a breaking config
file change.

closes #1214
2016-05-23 15:59:23 +01:00
Cameron Sparr f176c28a56 http_response: override req.Host header properly
closes #1198
2016-05-19 13:19:51 +01:00
Luke Swithenbank 377b030d88 update to 5 second default and string map for headers 2016-04-07 10:28:39 -06:00
Luke Swithenbank 437bd87d7c added tests and did some refactoring 2016-04-07 10:28:39 -06:00