aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/http_util
Commit message (Collapse)AuthorAgeFilesLines
* Refactor network code used in http_utilJack Lloyd2017-09-031-138/+18
| | | | Move the actual socket stuff to os_utils.cpp
* Use anonymous namespace to fix static buildRené Korthaus2017-08-041-0/+4
|
* Add support for Windows sockets to http_utilRené Korthaus2017-08-042-1/+50
| | | | | | Based on the work by @slicer4ever, adds support for Windows sockets to http_util. As a bonus, we get Windows support for tls_client and tls_server CLI.
* Remove "Dirty hack" for multiple defines in lex_me_harder()Simon Warta2017-04-021-1/+3
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-182-13/+13
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Add missing netinet includes for sockaddr_inlouiz’2016-12-081-0/+1
|
* MSVC doesnt support #warningJack Lloyd2016-11-231-1/+1
|
* Somewhat better errors in HTTPJack Lloyd2016-11-231-5/+9
|
* Remove remaining old style casts.Jack Lloyd2016-11-091-1/+1
| | | | | | Still not a hard error even in maintainer mode because sometimes system headers pull in C style casts via macros (eg MAP_FAILED). But, it not being a hard error makes it easy to backslide.
* HTTP for plain socketsJack Lloyd2016-10-302-32/+101
|
* Abstract out mutex type. Make threads optional.Jack Lloyd2016-10-122-9/+0
|
* String comparision fixesDaniel Neus2016-01-041-2/+2
| | | | fix PVS-Studio perfomance warnings
* some trivial compiler/PVS-Studio warning fixesDaniel Neus2015-12-221-1/+0
|
* Disable asio serial port support to avoid Darwin braindamage. GH #350Jack Lloyd2015-12-111-1/+9
|
* Missing addsJack Lloyd2015-12-111-0/+1
|
* Reroot the exception hierarchy into a toplevel Exception classJack Lloyd2015-12-112-9/+9
| | | | | | | | As the alternatives are unfortunate for applications trying to catch all library errors, and it seems deriving from std::runtime_error causes problems with MSVC DLLs (GH #340) Effectively reverts 2837e915d82e43
* lib/utils: Convert &vec[0] to vec.data()Simon Warta2015-06-231-3/+3
|
* Ensure all files have copyright and license info.lloyd2015-01-102-2/+2
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* Add default constructors to work around VC2013 issue. Github #17lloyd2014-05-011-0/+2
|
* Check Content-Length of HTTP responseslloyd2014-04-051-1/+10
|
* Move lib into srclloyd2014-01-103-0/+318