User Contributed Notes 1 note

Note that HttpRequest sets different defaults than curl (which is the library used by HttpRequest behind the scenes). For example in curl the connecttimeout is 0 and in HttpRequest it is 3.Also note that by default HttpRequest uses infinite persistent connections. That can be set in the ini file. Read the docs for more information.