Commit Graph

570 Commits

Author SHA1 Message Date
markmaker b898000e89 Feature / Adopt externally accepted sockets into uWebSockets. (#1697)
* Adopt externally accepted sockets into uWebSockets.

* Integrate uSockets typo.

---------

Co-authored-by: markus <markus.kuehni@triviso.ch>
2024-01-22 07:31:28 +01:00
Alex Hultman 1cc8605490 Disable broken SSL path 2024-01-08 21:48:28 +01:00
Alex Hultman 8fae890eac Include map for broken tests 2023-12-27 20:35:39 +01:00
Alex Hultman cbbcee0df8 Add getParameter(name), ParameterRoutes example 2023-12-27 20:26:24 +01:00
Alex Hultman 05fe5bc249 Allow huge content-lengths 2023-12-26 09:44:07 +01:00
Alex Hultman e0394289b6 Experimental: bump 30 bit receive limit to 62 bit 2023-12-26 09:04:57 +01:00
Alex Hultman 77a6f42960 Fix upgrade async with cork 2023-12-24 00:04:41 +01:00
Alex Hultman b4d73a2ed3 Use cork in UpgradeAsync, silence a warning 2023-12-23 23:51:14 +01:00
uNetworkingAB 1b89d82cb0 Remove route before trying to add it 2023-12-23 15:27:44 +01:00
Alex Hultman 71ec3d34c1 Un-break http3 examples 2023-12-23 02:26:13 +01:00
Alex Hultman 03c2997f2e Add basic http router benchmark 2023-12-19 06:00:33 +01:00
Alex Hultman 53e835c1fa 404 page should not be an error, but a full default response 2023-12-19 04:38:23 +01:00
Alex Hultman 97e8099bc2 Make "*" method actually catch all methods, tweak priority order a bit 2023-12-19 03:18:44 +01:00
uNetworkingAB 85c6f0fb69 Add UWS_HTTP_MAX_HEADERS_COUNT, raise default 2023-12-18 19:26:41 +01:00
uNetworkingAB d948b51990 UWS_HTTP_MAX_HEADERS_SIZE config 2023-12-15 21:47:05 +01:00
Alex Hultman c5aab195bd Error pages need connection close 2023-12-01 10:43:15 +01:00
Alex Hultman 38fdc4b51f Minimal error pages for UWS_HTTPRESPONSE_NO_WRITEMARK use 2023-11-30 18:59:53 +01:00
Alex Hultman 973a975915 Add .dropped events for pub/sub backpressure notification 2023-11-30 17:40:15 +01:00
uNetworkingAB 7da88ce71c Do not free subscriber on last unsubscription 2023-11-01 15:05:13 +01:00
Yevgen Pogribnyi 143db3034f Don't lose ws frame payload when its header went to backpressure (#1662) 2023-09-23 23:01:21 +02:00
Sean Oxley f1b10ed221 Restore the bytes overwritten by the tail after inflation (#1653) 2023-09-04 10:04:26 +02:00
calvin2021y 3bb917da2e #1617 fix warning: 'sprintf' is deprecated from macOS (#1630) 2023-08-04 04:31:51 +02:00
Gregory Ling bf0d977cd0 Silence unused variable warning (#1613) 2023-07-20 15:53:01 +02:00
Alex Hultman bd1c41a06b Add default 404 error page 2023-07-15 19:39:23 +02:00
Alex Hultman d5ec941fd8 Move http error pages to separate file 2023-05-28 11:51:51 +02:00
Alex Hultman d1da7cc248 Nicer error pages 2023-05-28 11:47:33 +02:00
Alex Hultman e50dc4d506 We need a name to tell it's us 2023-05-28 11:08:33 +02:00
Alex Hultman 919a3bbeba Add http errors 2023-05-28 10:12:50 +02:00
Alex Hultman 7999d09286 Restore PROXY v2 support 2023-05-28 06:37:52 +02:00
Alex Hultman ba6ff7b7f4 Sometimes I cannot think properly 2023-05-11 13:08:22 +02:00
Alex Hultman 62b5feb540 We need uncorkWithoutSending 2023-05-11 12:48:12 +02:00
Alex Hultman 20e7c5aaf0 Properly uncork on large message backpressure 2023-05-11 12:33:07 +02:00
Alex Hultman f6f5a3d6e8 Add large non-ssl, non-compressed WebSocket message sending optimization 2023-05-11 11:18:58 +02:00
Alex Hultman abb22793ff Bunch 'o experimental changes 2023-05-07 01:28:07 +02:00
Alex Hultman c3fa05b814 Queries must have = 2023-04-30 23:18:14 +02:00
Alex Hultman a658d1616a Accept zero length queries 2023-04-30 22:30:06 +02:00
Alex Hultman e5b1d3f83c Fix another HTTP async cork bug 2023-04-21 19:20:44 +02:00
Alex Hultman c5de72c9be Fix async upgrade inside cork 2023-04-15 22:14:23 +02:00
Wojciech Wierchoła 8410f7ee6b Fix chunked body handling in fallback routine (#1585) 2023-03-06 11:36:19 +01:00
Alexey Timin 6243be0e9e Fix reported content length for HttpResponse::endWithoutBody (#1557) 2023-03-06 11:36:00 +01:00
mtrenkmann c5abc1d75f Fix [-Werror=format-truncation] compiler warning b/c of potential minus signs (#1575) 2023-02-09 00:14:29 +01:00
Jan c2209fbad2 Fix some typos (#1570)
* Fix typo for optional_data (closes #1567)

* Fix typo in comment
2023-02-05 08:59:03 +01:00
Alex Hultman 53ae0a889f Silence some warnings 2023-01-16 06:08:09 +01:00
uNetworkingAB d111d19584 Update LoopData.h 2023-01-12 03:59:19 +01:00
uNetworkingAB c00588f7d7 Whoops 2023-01-12 03:50:59 +01:00
uNetworkingAB b5ca31c4a5 Silence warnings 2023-01-12 03:44:01 +01:00
Alex Hultman 46c8aebc0e Proper cast 2023-01-08 23:43:44 +01:00
uNetworkingAB 286b2f2f1f Also emit subscription events from close handler 2023-01-08 23:38:08 +01:00
uNetworkingAB 8cf7e73862 WebSocket subscription handler broken 2023-01-02 18:21:05 +01:00
Alex Hultman a703f6c493 Working app.close 2022-12-28 07:09:17 +01:00