| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-06-23 | Fix out of bounds read in HttpRequest::Impl::Fetch logging | Silent | |
| 2019-06-20 | Common/HttpRequest: Use CURLOPT_ERRORBUFFER for error messages | spycrab | |
| 2019-05-27 | Common/HttpRequest: Simplify cURL initialization | Lioncash | |
| std::call_once is guaranteed to execute the given callable object exactly once. This guarantee holds even if the function is called concurrently from several threads. Given that, we can replace the mutex and boolean flag with std::call_once and a std::once_flag to perform the same behavior. | |||
| 2019-05-27 | Common/HttpRequest: Avoid unnecessary copies in loop in Fetch() | Lioncash | |
| Previously, every entry pair within the map would be copied. The reason for this is subtle. A std::map's internal entry type is defined as: std::pair<const Key, Value> but the loop was declaring it as: std::pair<Key, Value> These two types aren't synonymous with one another and so the compiler is required to always perform a copy. Using structured bindings avoids this (as would plain auto or correcting the explicit type), while also allowing the use of more appropriate names compared to first and second. | |||
| 2019-05-27 | Common/HttpRequest: std::move callback in constructor | Lioncash | |
| std::function is allowed to heap allocate in order to hold any necessary bound data in order to execute properly (e.g. lambdas with captures), so this avoids unnecessary reallocating. | |||
| 2019-04-13 | Common/HttpRequest: Add option to allow non 200 response codes | spycrab | |
| 2019-04-06 | Common/HttpRequest: Fix EscapeComponent leaking memory | spycrab | |
| 2019-04-06 | Qt/NetPlay: Integrate NetPlayIndex | spycrab | |
| 2019-03-30 | Common/HttpRequest: Implement EscapeComponent | spycrab | |
| 2019-02-01 | Common/HttpRequest: optionally follow redirects | Tillmann Karras | |
| 2018-08-13 | Force IPv4 on external IP addresses | Sleepy Flower Girl | |
| 2018-05-29 | Common/HttpRequest: Add option to set cookies | spycrab | |
| 2018-05-04 | HttpRequest/Curl: Use a more intelligent timeout method | spycrab | |
| 2018-03-28 | HttpRequest: Add callback option | spycrab | |
| 2018-03-20 | HttpRequest: make curl initialization thread-safe | Pierre Bourdon | |
| 2017-06-18 | HttpRequest: Use std::chrono for indicating time periods | Lioncash | |
| Allows the use of chrono time points, on top of being more indicative of time periods used at call sites, if custom timeouts are specified. | |||
| 2017-06-13 | HttpRequest: Add support for custom timeouts | Léo Lam | |
| 2017-06-13 | HttpRequest: Add support for sending custom headers | Léo Lam | |
| 2017-06-13 | HttpRequest: Log response body on failure | Léo Lam | |
| 2017-06-13 | Common: Add HttpRequest to simplify HTTP requests | Léo Lam | |
| Too much boilerplate that is duplicated if we use curl directly. Let's add a simple wrapper class that hides the implementation details and just allows to simply make HTTP requests and get responses. | |||
