Commit Graph

40 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( 2020-11-12 13:20:29 +01:00
Jorg Knobloch fe1c8583a5 Added comment and wrapped output to stderr in #ifndef NDEBUG. 2020-10-09 10:52:45 +02:00
Jorg Knobloch 5d24310148 revert to rev 49fe188132 and pass reuse_addr==false to CTOR of _acceptor 2020-06-23 23:38:49 +02:00
Volker Birk 27c1153e78 next try with native function 2020-06-23 20:45:48 +02:00
Volker Birk 6453cbe22c typo 2020-06-23 17:20:53 +02:00
Volker Birk 14b6eb5b32 give this a try on Windoze 2020-06-23 16:06:14 +02:00
Volker Birk 0ffd0b55b9 ... 2020-06-23 00:51:31 +02:00
Volker Birk a787cd5d9c next try 2020-06-23 00:46:24 +02:00
Volker Birk 193f31addf explicitely disable address reuse 2020-06-23 00:21:54 +02:00
Volker Birk 49fe188132 be less verbose 2020-06-22 13:42:13 +02:00
Volker Birk a3190c46ab INT32_MAX is now maximum message size 2020-06-22 13:33:47 +02:00
Volker Birk f84625b1f9 max transfer size 1TB 2020-06-19 23:51:40 +02:00
Volker Birk f92957a2e5 moving webserver to background thread 2020-06-19 22:11:04 +02:00
Volker Birk 18f3e16abc on I/O error we always end without exception 2020-06-18 16:05:21 +02:00
Volker Birk 52c7c372df show err_msg in Visual Studio debugger 2020-06-18 15:30:46 +02:00
Volker Birk 38698b900d adding factory function probing_port_range() 2020-06-17 16:35:26 +02:00
roker 89e3e9854b add Webserver constructor that probes a port range. Necessary if multiple instances are running. 2020-06-17 10:09:25 +02:00
Volker Birk ed8de2fc8a on Windows we have net::error::connection_reset 2020-06-13 10:02:17 +02:00
Volker Birk 5d8fbbaec3 no auto conversion to std::string() 2020-06-13 09:06:14 +02:00
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. 2020-06-12 11:32:47 +02:00
roker 6e748754e5 make create_status_response() available for Webserver users. 2020-06-12 11:13:57 +02:00
roker 3a45f4648d const correctness. Avoid copying of the request object. 2020-06-12 10:57:14 +02:00
roker 2efc68de20 add generic handler. simplify switch() statement. 2020-06-12 10:11:06 +02:00
roker 513d5a8200 add thread_init() and thread_done(). some smaller cleanups and minor fixes. 2020-06-11 23:24:05 +02:00
Volker Birk 32211d5b48 ... 2020-06-08 23:12:05 +02:00
Volker Birk 7eb10d44db even more weird 2020-06-08 22:00:49 +02:00
Volker Birk b8a3c2efec workaround a strange bug 2020-06-08 21:45:55 +02:00
Volker Birk b410ade80f ... 2020-06-08 19:27:40 +02:00
Volker Birk c52b9f6966 ... 2020-06-08 19:24:57 +02:00
Volker Birk e1d712f8ed ... 2020-06-08 18:48:27 +02:00
Volker Birk 631a2295c0 ... 2020-06-08 18:27:37 +02:00
Volker Birk 2e7f867c30 ... 2020-06-08 17:55:47 +02:00
Volker Birk cb57ceae2e ... 2020-06-08 17:17:27 +02:00
Volker Birk d509faacf6 ... 2020-06-08 17:09:43 +02:00
Volker Birk 1f5cf10baa ... 2020-06-08 17:03:32 +02:00
Volker Birk 1b2bd21bf8 ... 2020-06-08 17:02:48 +02:00
Volker Birk 92cbe2f95b ... 2020-06-08 15:24:07 +02:00
Volker Birk 99562e3cfc ... 2020-06-08 14:57:26 +02:00
Volker Birk 35390f999c ... 2020-06-08 13:01:56 +02:00
Volker Birk f702e58c86 initial commit 2020-06-08 11:05:33 +02:00