Commit Graph

66 Commits (68f849d8149007323eb53feeab805fc4154ef5e2)
 

Author SHA1 Message Date
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( 3 years ago
Jorg Knobloch fe1c8583a5 Added comment and wrapped output to stderr in #ifndef NDEBUG. 3 years ago
roker 49c9c7456a Merge branch 'master' of https://gitea.pep.foundation/fdik/webserver into master 3 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>’? 3 years ago
Volker Birk 8b07cc5d54 typo 3 years ago
Volker Birk 1851509fa1 updating Makefile 3 years ago
Jorg Knobloch 5d24310148 revert to rev 49fe188132 and pass reuse_addr==false to CTOR of _acceptor 3 years ago
Volker Birk 27c1153e78 next try with native function 3 years ago
Volker Birk 6453cbe22c typo 3 years ago
Volker Birk 14b6eb5b32 give this a try on Windoze 3 years ago
Volker Birk 0ffd0b55b9 ... 3 years ago
Volker Birk a787cd5d9c next try 3 years ago
Volker Birk 193f31addf explicitely disable address reuse 3 years ago
Volker Birk 49fe188132 be less verbose 3 years ago
Volker Birk a3190c46ab INT32_MAX is now maximum message size 3 years ago
Volker Birk f84625b1f9 max transfer size 1TB 3 years ago
Volker Birk 358c9d08bb avoid SIGABRT 3 years ago
Volker Birk f92957a2e5 moving webserver to background thread 3 years ago
Volker Birk 18f3e16abc on I/O error we always end without exception 3 years ago
Volker Birk 52c7c372df show err_msg in Visual Studio debugger 3 years ago
Volker Birk 7493baa951 boost from MacPorts 3 years ago
Volker Birk 7c7f53be0d for Roker: using std::unique_ptr ;-) 3 years ago
Volker Birk 38698b900d adding factory function probing_port_range() 3 years ago
roker 89e3e9854b add Webserver constructor that probes a port range. Necessary if multiple instances are running. 3 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
Volker Birk ec18185788 more ignore 3 years ago
Volker Birk 8194c26ba6 nicer 3 years ago
Volker Birk 7eb10d44db even more weird 3 years ago
Volker Birk b8a3c2efec workaround a strange bug 3 years ago
Volker Birk a67b2924ff testing 3 years ago
Volker Birk 3d9376c42b adding test page 3 years ago
Volker Birk b410ade80f ... 3 years ago
Volker Birk c52b9f6966 ... 3 years ago