Commit Graph

74 Commits (master)
 

Author SHA1 Message Date
roker ecde5df565 revert my unwanted changes in Makefile. Thanks, positron! 1 year ago
roker ee8a4d4e7d fix Makefile: "make uninstall" cleared the whole include dir, also the headers from other projects. Thank you, positron! :-) 1 year ago
roker 057362ec9d implement HTTP redirects. That's what the URL parser is necessary at all. :-) 2 years ago
roker cae8ab0f08 make URL.port unsigned, to match Webclient's interface. 2 years ago
roker 78a97d3116 default port is 0, as in Webclient's c'tor. URL schema is always returned in lowercase now. 2 years ago
roker fafffa8855 add simple URL parser that only does what necessary to parse HTTP redirects. 2 years ago
roker 9c72e7b1d8 add TLS support, necessary for LAS-22 and LAS-23. 2 years ago
roker 68b5da281b add very simple Webclient class. 2 years ago
roker 68f849d814 for whatever reason we cannot write a 'response' to the socket, but need a 'response_serializer' on boost 1.67 (Debian 10) m( 2 years ago
Jorg Knobloch fe1c8583a5 Added comment and wrapped output to stderr in #ifndef NDEBUG. 2 years ago
roker 49c9c7456a Merge branch 'master' of https://gitea.pep.foundation/fdik/webserver into master 2 years ago
roker 944974161a webserver.hh:49:18: error: ‘mutex’ in namespace ‘std’ does not name a type. note: ‘std::mutex’ is defined in header ‘<mutex>’; did you forget to ‘#include <mutex>’? 2 years ago
Volker Birk 8b07cc5d54 typo 2 years ago
Volker Birk 1851509fa1 updating Makefile 2 years ago
Jorg Knobloch 5d24310148 revert to rev 49fe188132 and pass reuse_addr==false to CTOR of _acceptor 2 years ago
Volker Birk 27c1153e78 next try with native function 2 years ago
Volker Birk 6453cbe22c typo 2 years ago
Volker Birk 14b6eb5b32 give this a try on Windoze 2 years ago
Volker Birk 0ffd0b55b9 ... 2 years ago
Volker Birk a787cd5d9c next try 2 years ago
Volker Birk 193f31addf explicitely disable address reuse 2 years ago
Volker Birk 49fe188132 be less verbose 2 years ago
Volker Birk a3190c46ab INT32_MAX is now maximum message size 2 years ago
Volker Birk f84625b1f9 max transfer size 1TB 2 years ago
Volker Birk 358c9d08bb avoid SIGABRT 2 years ago
Volker Birk f92957a2e5 moving webserver to background thread 2 years ago
Volker Birk 18f3e16abc on I/O error we always end without exception 2 years ago
Volker Birk 52c7c372df show err_msg in Visual Studio debugger 2 years ago
Volker Birk 7493baa951 boost from MacPorts 2 years ago
Volker Birk 7c7f53be0d for Roker: using std::unique_ptr ;-) 2 years ago
Volker Birk 38698b900d adding factory function probing_port_range() 2 years ago
roker 89e3e9854b add Webserver constructor that probes a port range. Necessary if multiple instances are running. 2 years ago
Volker Birk 7fe168545c build-windows 3 years ago
Volker Birk 773ef53c7c Visual Studio 3 years ago
Volker Birk ed8de2fc8a on Windows we have net::error::connection_reset 3 years ago
Volker Birk 5d8fbbaec3 no auto conversion to std::string() 3 years ago
roker 6e7748872e add -fvisibility=hidden, because boost seems to be compiled with this flag, too. At least on my MacOS. 3 years ago
roker 1b425c63a8 response is no longer a pointer. 3 years ago
roker 6f5a070828 Use 'response' instead of 'response*' and rely on NRVO. Errors in url_handler are signalled as exceptions and returned as status code 500 internal_server_error to client. 3 years ago
roker d26bdb069b try to make test_webserver compile again. But I got weird linker errors with boost. 3 years ago
roker f89193b45b replace default values in Makefile with more generic terms. local.conf can override them anyways. 3 years ago
roker 6e748754e5 make create_status_response() available for Webserver users. 3 years ago
roker 3a45f4648d const correctness. Avoid copying of the request object. 3 years ago
roker dfd035c66f "make install" also copies library. Rename libwebserver.a into libpEpwebserver.a, because there is no pEp/ subdir in $(TARGET)/lib 3 years ago
roker 2efc68de20 add generic handler. simplify switch() statement. 3 years ago
roker 513d5a8200 add thread_init() and thread_done(). some smaller cleanups and minor fixes. 3 years ago
RokerHRO 0bfedc2c1c don't pollute global namespace. 3 years ago
Volker Birk 3b029f505c nicer 3 years ago
Volker Birk abc41f6b75 link to sample 3 years ago
Volker Birk 32211d5b48 ... 3 years ago