Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | chefstyle: fix Lint/StringConversionInInterpolation | Lamont Granquist | 2016-01-12 | 1 | -1/+1 |
| | | | | useless use of `"#{foo.to_s}"` | ||||
* | expose HTTP optionstm/fix_reg_tests_2 | Thom May | 2015-12-09 | 1 | -0/+2 |
| | | | | and use it in registration client specs | ||||
* | Merge pull request #4130 from chef/lcg/lazy-socketless-require | Lamont Granquist | 2015-11-04 | 1 | -2/+9 |
|\ | | | | | lazy the socketless require in Chef::HTTP | ||||
| * | thread-safe performant lazy requirelcg/lazy-socketless-require | Lamont Granquist | 2015-11-04 | 1 | -1/+5 |
| | | |||||
| * | add more verbose info/clarity to comment block | Lamont Granquist | 2015-11-04 | 1 | -2/+3 |
| | | |||||
| * | lazy the socketless require in Chef::HTTP | Lamont Granquist | 2015-11-04 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | if this is always required then everything that uses Chef::HTTP will load up chef-zero which will load up Webrick, which does DNS lookups of the current host which causes a DNS lookup and possible timeout. it also likely isn't doing pretty things to chef-client memory usage and load times there as well. | ||||
* | | Add connection resets to HTTP retry cases | danielsdeleo | 2015-11-04 | 1 | -1/+1 |
| | | |||||
* | | Skip retries of certificate verification failures | danielsdeleo | 2015-11-04 | 1 | -1/+1 |
| | | |||||
* | | Re-raise SSL errors after retry w/ correct class | danielsdeleo | 2015-11-04 | 1 | -2/+2 |
| | | |||||
* | | Add in retry for possible transient SSL errors | glasschef | 2015-11-04 | 1 | -0/+7 |
|/ | |||||
* | Add --no-listen option to disable zero binding to port | danielsdeleo | 2015-04-01 | 1 | -0/+1 |
| | |||||
* | Extract Chef Zero code out to chef zero, re-enable socket listening | danielsdeleo | 2015-04-01 | 1 | -1/+1 |
| | |||||
* | Hoist socketless chef-zero support into Chef::HTTP | danielsdeleo | 2015-04-01 | 1 | -2/+11 |
| | | | | | | Was hoping to avoid this, but there are multiple subclasses of Chef::HTTP that interact with the server, which all must support socketless mode. | ||||
* | Fix. Make sure that scheme part of the URI is treated in a case-insensitive ↵ | Krzysztof Wilczynski | 2014-12-29 | 1 | -1/+1 |
| | | | | | | | | | | manner. This is as per http://en.wikipedia.org/wiki/URI_scheme, and solves some edges i.e., following (30x) URL from the "Location" header where we have to deal with "HTTP://". Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@linux.com> | ||||
* | Remove 1.8 and 1.9 specific monkey patches | danielsdeleo | 2014-11-26 | 1 | -1/+0 |
| | |||||
* | Merge pull request #1827 from svanharmelen/fix-redirect-bug | Serdar Sutay | 2014-10-10 | 1 | -1/+1 |
|\ | | | | | Fix a bug when receiving a relative redirect location | ||||
| * | Updated the code after discussing with @btm, @lamont-granquist and ↵ | Sander van Harmelen | 2014-09-09 | 1 | -4/+1 |
| | | | | | | | | @danielsdeleo | ||||
| * | Fix a bug when receiving a relative redirect location | Sander van Harmelen | 2014-08-19 | 1 | -0/+3 |
| | | | | | | | | | | | | Currently when you use a provider that somewhere along the line uses Chef::HTTP.request or Chef::HTTP.streaming_request, you will receive an error when the response is a redirect with a relative location. | ||||
* | | read http_retry_count from chef config in the spec; add HTTP error code in ↵ | Hui Hu | 2014-09-04 | 1 | -1/+1 |
| | | | | | | | | the log. | ||||
* | | retry on HTTP 50X Error when calling Chef REST API | Hui Hu | 2014-08-25 | 1 | -12/+19 |
| | | |||||
* | | Revert "add retries in additional cases" | Lamont Granquist | 2014-08-23 | 1 | -19/+5 |
| | | | | | | | | | | | | Pushed straight to master again, I need to stop coding... This reverts commit fb58236637095e22f25ed17143e435f4a58d7d6c. | ||||
* | | add retries in additional cases | Lamont Granquist | 2014-08-23 | 1 | -5/+19 |
|/ | |||||
* | Add missing requires to HTTP and HTTP::Simplehttp-simple-requires | danielsdeleo | 2014-06-27 | 1 | -0/+2 |
| | |||||
* | Merge pull request #1396 from svanharmelen/CHEF-5261 | Claire McQuin | 2014-06-09 | 1 | -1/+4 |
|\ | | | | | CHEF-5261 Added some tests to prevent double slashes | ||||
| * | COOK-5261 Added some formatting to prevent malformed URLs | Sander van Harmelen | 2014-05-13 | 1 | -1/+4 |
| | | |||||
* | | CHEF-5198: a better fix | Lamont Granquist | 2014-04-09 | 1 | -9/+7 |
|/ | | | | | | | | - reverts previous fix to CHEF-5198 - applies stream handler middleware in (proper) reverse order - adds debugging around middleware application - moves dumping of response header debugging to before applying response/streaming middleware | ||||
* | CHEF-5100: | Lamont Granquist | 2014-03-27 | 1 | -4/+0 |
| | | | | | | - Enable Content Validation Check for Chef::HTTP::Simple - Tidy up debug logs / comments - More specs. | ||||
* | CHEF-5041: check for transfer-encoding header | Lamont Granquist | 2014-03-27 | 1 | -0/+3 |
| | | | | | | - skip content-length check in the presence of a transfer-encoding header - also adds debugging and some refactoring | ||||
* | validate streaming file size | Claire McQuin | 2014-01-23 | 1 | -8/+18 |
| | |||||
* | Support HTTP req to base URL without adding a slash | danielsdeleo | 2013-10-16 | 1 | -0/+2 |
| | | | | | | | For single use HTTP clients, you can now do, e.g., http = Chef::HTTP::Simple.new("http://opscode.com/document.txt") http.get And no trailing slash is added. | ||||
* | Return the response body by default if we've read it | danielsdeleo | 2013-10-16 | 1 | -1/+3 |
| | | | | | Otherwise clients like HTTP::Simple don't return anything at all from http requests | ||||
* | Use new Chef::ServerAPI API class in upload/download/diff | John Keiser | 2013-10-09 | 1 | -8/+11 |
| | |||||
* | Fix Chef::HTTP dependence on subclass methods | danielsdeleo | 2013-10-08 | 1 | -11/+11 |
| | |||||
* | Move streaming requests to generic HTTP class | danielsdeleo | 2013-10-08 | 1 | -12/+99 |
| | |||||
* | Refactor HTTP streaming to reuse base implementations | danielsdeleo | 2013-10-08 | 1 | -5/+10 |
| | |||||
* | HTTP client creates request objects. | danielsdeleo | 2013-10-08 | 1 | -17/+21 |
| | | | | | | | Changes the structure of HTTP requests so that we create an HTTP client object and then ask it to make requests. This allows for easier customization of the HTTP client object, in particular enabling use to make use of persistent connections. | ||||
* | Remove references to authenticator from base HTTP class | danielsdeleo | 2013-10-08 | 1 | -6/+2 |
| | |||||
* | Top-level HTTP object doens't deal with cookies now | danielsdeleo | 2013-10-08 | 1 | -2/+1 |
| | |||||
* | Move HTTP components into chef/http | danielsdeleo | 2013-10-08 | 1 | -0/+288 |