Alex Hultman
|
5528e6f5fe
|
Fix Http timeout regarding .end with backpressure
|
2019-01-31 18:01:19 +01:00 |
|
 Alex HultmanandGitHub
|
418b51f007
|
Add note regarding route order
|
2019-01-30 11:56:49 +01:00 |
|
Alex Hultman
|
eaa9467d1f
|
Don't write mark in the middle of streaming
|
2019-01-29 17:15:06 +01:00 |
|
Alex Hultman
|
359873f4ea
|
Fix up Http pipelining check
|
2019-01-29 16:18:08 +01:00 |
|
Alex Hultman
|
7b87460c57
|
HttpResponseData has to be convertible to AsyncSocketData
|
2019-01-29 16:11:42 +01:00 |
|
Alex Hultman
|
ca38ea1669
|
Port load_test to SSL/non-SSL uSockets API
|
2019-01-28 18:20:39 +01:00 |
|
Alex Hultman
|
d4e767ac65
|
Shorten mark footprint
|
2019-01-26 22:08:41 +01:00 |
|
Alex Hultman
|
4d06180041
|
Move mark from WebSockets down to HTTP
|
2019-01-26 21:55:24 +01:00 |
|
Alex Hultman
|
92fb74b7e9
|
Remove last debug prints
|
2019-01-26 19:02:29 +01:00 |
|
 Alex HultmanandGitHub
|
1eaf69c566
|
More docs changes
|
2019-01-26 18:49:33 +01:00 |
|
 Alex HultmanandGitHub
|
f0352b4685
|
Add info on open/close guarantee
|
2019-01-26 18:33:46 +01:00 |
|
Alex Hultman
|
7d990a3bc1
|
API CHANGE: ws.close -> ws.end, ws.terminate -> ws.close
|
2019-01-26 17:20:47 +01:00 |
|
Alex Hultman
|
ba10536f50
|
Introduce WebSocket::terminate (todo: rename to close)
|
2019-01-26 17:13:47 +01:00 |
|
Alex Hultman
|
80322a5af7
|
Never parse messages while in shutdown
|
2019-01-26 14:31:37 +01:00 |
|
Alex Hultman
|
d331ec3e45
|
Refactor using new uSockets API
|
2019-01-25 14:15:40 +01:00 |
|
Alex Hultman
|
e14461e253
|
Fix up websocket writable behavior
|
2019-01-24 18:01:20 +01:00 |
|
Alex Hultman
|
7bb2dc848d
|
Add simple user manual, add links & update wording
|
2019-01-24 13:27:35 +01:00 |
|
Alex Hultman
|
a0eeb769c9
|
Carry over backpressure from Http to WS
|
2019-01-24 11:53:10 +01:00 |
|
Alex Hultman
|
e653e9d314
|
Make HttpParser only handle move-only functions
|
2019-01-23 12:31:25 +01:00 |
|
Alex Hultman
|
95478c906f
|
Make Loop and LoopData only hold move-only functions
|
2019-01-23 12:26:33 +01:00 |
|
Alex Hultman
|
91925ccc37
|
Make all websocket handlers move-only
|
2019-01-23 12:19:44 +01:00 |
|
Alex Hultman
|
02a6271980
|
Make all http routes move-only
|
2019-01-23 12:09:19 +01:00 |
|
Alex Hultman
|
ce286017ee
|
Make the router use move-only functions
|
2019-01-23 11:51:38 +01:00 |
|
Alex Hultman
|
9829f7fb37
|
Add concept of route yielding
|
2019-01-22 18:30:25 +01:00 |
|
Alex Hultman
|
ed4e9f5c45
|
Experimental new router
|
2019-01-22 18:06:25 +01:00 |
|
Alex Hultman
|
f4065b4e3b
|
Add simple "any" route to catch any method
|
2019-01-22 13:55:28 +01:00 |
|
Alex Hultman
|
6d469cd8ba
|
Add some important comments of bugs in adoption
|
2019-01-22 13:23:40 +01:00 |
|
Alex Hultman
|
586595e727
|
Fix up websocket close events
|
2019-01-22 11:22:22 +01:00 |
|
Alex Hultman
|
0934965fa5
|
Implement idleTimeout
|
2019-01-22 10:15:27 +01:00 |
|
Alex Hultman
|
85889153b9
|
Remove most debug prints
|
2019-01-22 09:41:48 +01:00 |
|
Alex Hultman
|
87aea5a28c
|
Don't emit multiple parallel requests
|
2019-01-22 09:28:03 +01:00 |
|
Alex Hultman
|
db98f81986
|
Proper move of App
|
2019-01-22 09:16:05 +01:00 |
|
Alex Hultman
|
98d329c912
|
Update uSockets
|
2019-01-21 19:07:44 +01:00 |
|
Alex Hultman
|
74a4048195
|
Align LoopData, HttpContextData
|
2019-01-21 08:40:21 -08:00 |
|
Alex Hultman
|
19aa6ec9af
|
Implement hasResponded
|
2019-01-18 17:20:21 +01:00 |
|
Alex Hultman
|
2caefa9d96
|
We need HttpResponse::hasResponded
|
2019-01-18 16:36:24 +01:00 |
|
Alex Hultman
|
3c3819fe3c
|
Implement Loop::setPreHandler
|
2019-01-17 09:59:55 +01:00 |
|
Alex Hultman
|
04281eeea6
|
onData as unique_function
|
2019-01-17 08:21:39 +01:00 |
|
Alex Hultman
|
2a62218d2a
|
Disable onWritable debug prints
|
2019-01-17 06:51:35 +01:00 |
|
Alex Hultman
|
6718301ac9
|
Make onAborted unique_function
|
2019-01-17 06:30:47 +01:00 |
|
Alex Hultman
|
0ca061e772
|
Being extra clear with move
|
2019-01-15 08:09:50 +01:00 |
|
Alex Hultman
|
95cafc2c7b
|
Try using function2 for HttpResponse::onWritable
|
2019-01-15 07:11:30 +01:00 |
|
Alex Hultman
|
8efea340e6
|
Add zlib to HttpServer build
|
2019-01-08 20:42:58 +01:00 |
|
Alex Hultman
|
d8aeb0d312
|
Fix "last" onData flag of HttpParser
|
2019-01-08 06:34:59 +01:00 |
|
Alex Hultman
|
614d02e462
|
Not my problem
|
2019-01-07 11:30:57 +01:00 |
|
Alex Hultman
|
e2b2168384
|
Remove dead code and comments
|
2019-01-07 03:22:04 +01:00 |
|
Alex Hultman
|
47467ab1e5
|
Pass "last" bool to res->onData
|
2019-01-07 03:05:19 +01:00 |
|
Alex Hultman
|
4fde553d03
|
Remove uWS::destroy()
|
2019-01-07 02:26:50 +01:00 |
|
 Alex HultmanandGitHub
|
04437c5f74
|
Add compiling docs
|
2019-01-05 01:03:10 +01:00 |
|
Alex Hultman
|
4f3c031c39
|
Make sure UWS_NO_ZLIB, LIBUS_NO_SSL works
|
2019-01-05 00:52:45 +01:00 |
|
Alex Hultman
|
c953d2b2bb
|
Fix compiling on Windows without SSL
|
2019-01-05 00:39:46 +01:00 |
|
Alex Hultman
|
287c7dbe7f
|
Add uWS::destroy calls to examples
|
2018-12-30 21:27:42 +01:00 |
|
Alex Hultman
|
b65e9fd7d8
|
Add uWS::destroy() helper function
|
2018-12-30 21:19:08 +01:00 |
|
Alex Hultman
|
7afb3af614
|
Fake succeed all writes on closed socket (fix memory leak)
|
2018-12-30 21:08:54 +01:00 |
|
Alex Hultman
|
cd6ab69140
|
Fix SSL destructor mistake
|
2018-12-30 18:12:19 +01:00 |
|
Alex Hultman
|
ed7222e513
|
Fix last obvious leak
|
2018-12-30 18:02:57 +01:00 |
|
Alex Hultman
|
339e2d72dc
|
Fix more memory leaks
|
2018-12-30 17:43:11 +01:00 |
|
Alex Hultman
|
6618f7194b
|
Fix a few memory leaks
|
2018-12-30 17:17:22 +01:00 |
|
Alex Hultman
|
4407beedf7
|
Make sure to reset upgradedWebSocket each time
|
2018-12-30 13:56:04 +01:00 |
|
Alex Hultman
|
2c212f2fb4
|
Fix struct/class mismatch
|
2018-12-30 13:29:29 +01:00 |
|
Alex Hultman
|
d597041ca4
|
Don't leave content-length on empty response
|
2018-12-29 14:27:50 +01:00 |
|
Alex Hultman
|
6befbd4a37
|
Allow UWS_NO_ZLIB to work properly
|
2018-12-29 14:00:26 +01:00 |
|
Alex Hultman
|
e70eb78ae3
|
Hook up maxPayloadLength for Zlib too
|
2018-12-29 13:47:15 +01:00 |
|
Alex Hultman
|
50de2cea89
|
Hook up maxPayloadLength, not for Zlib
|
2018-12-29 13:32:49 +01:00 |
|
Alex Hultman
|
f5583b4a8a
|
Remove per-platform byte swap, all portable now
|
2018-12-28 15:47:09 +01:00 |
|
Alex Hultman
|
a7597772f8
|
Separate parser from formatter, make it build
|
2018-12-28 14:16:28 +01:00 |
|
Alex Hultman
|
59b3fee3fe
|
Emit drain event, add comments, etc
|
2018-12-28 13:14:57 +01:00 |
|
Alex Hultman
|
44fbd44211
|
Emit close event for WebSockets
|
2018-12-28 11:55:28 +01:00 |
|
Alex Hultman
|
73b4fc384d
|
Fix WebSocketContext::create sizeof bug
|
2018-12-28 10:59:51 +01:00 |
|
Alex Hultman
|
1e5bb25d5c
|
Minor main.cpp changes
|
2018-12-26 20:42:36 +01:00 |
|
Alex Hultman
|
9c037747ab
|
Silence various unused- warnings
|
2018-12-26 20:41:18 +01:00 |
|
Alex Hultman
|
46537f6f2d
|
Update uSockets
|
2018-12-26 19:18:42 +01:00 |
|
Alex Hultman
|
c0af883bf9
|
Pull new uSockets with SSL fixes
|
2018-12-26 14:47:18 +01:00 |
|
Alex Hultman
|
de53d12bfe
|
Fix up getUserData
|
2018-12-26 14:35:09 +01:00 |
|
Alex Hultman
|
fb95abad71
|
Update EchoServer example
|
2018-12-22 06:02:38 +01:00 |
|
Alex Hultman
|
038111fb98
|
Add SHARED and DEDICATED compressor options
|
2018-12-22 05:58:26 +01:00 |
|
Alex Hultman
|
f8e299c312
|
Add initial send compression
|
2018-12-22 03:08:12 +01:00 |
|
 Alex HultmanandGitHub
|
a54aa23329
|
Remove ugly warning
|
2018-12-21 05:58:13 +01:00 |
|
Alex Hultman
|
3fa0fbc5fa
|
Add a few more events
|
2018-12-21 04:31:37 +01:00 |
|
Alex Hultman
|
4a2cd93a22
|
Pass Autobahn with restored WS perf.
|
2018-12-21 03:18:34 +01:00 |
|
Alex Hultman
|
2a1fc55b58
|
Add EchoServer example
|
2018-12-21 03:17:15 +01:00 |
|
Alex Hultman
|
3e75936387
|
Begin restoring WebSocket performance
|
2018-12-21 02:13:44 +01:00 |
|
Alex Hultman
|
819a78976e
|
Restore SSL build
|
2018-12-19 13:03:31 +01:00 |
|
Alex Hultman
|
6a77942066
|
Make WebSockets work on Windows
|
2018-12-19 09:38:01 +01:00 |
|
Alex Hultman
|
7c3585afee
|
Use us_socket_is_closed, fix non-SSL/Windows build
|
2018-12-19 09:22:05 +01:00 |
|
Alex Hultman
|
ff4f3341ad
|
Don't be a dickhead alright
|
2018-12-11 16:22:41 +01:00 |
|
 Alex HultmanandGitHub
|
779896de97
|
Update README.md
|
2018-11-30 11:02:55 +01:00 |
|
 Alex HultmanandGitHub
|
77b3faee83
|
Add PayPal account
|
2018-11-30 10:58:51 +01:00 |
|
Alex Hultman
|
9d0e4f4771
|
Pass entire Autobahn over SSL
|
2018-11-29 20:57:31 +01:00 |
|
Alex Hultman
|
3e769fb841
|
Pass a big portion of Autobahn over SSL
|
2018-11-29 09:59:03 +01:00 |
|
Alex Hultman
|
6c9ac88f50
|
Add basic permessage-deflate, pass entire Autobahn
|
2018-11-29 08:37:31 +01:00 |
|
Alex Hultman
|
00cfac9215
|
New logo and tags
|
2018-11-29 04:24:13 +01:00 |
|
Alex Hultman
|
a25e2ab397
|
A bit of clean-ups and license fixes
|
2018-11-22 01:29:28 +01:00 |
|
 Alex HultmanandGitHub
|
63e483b815
|
Update demo interface
|
2018-11-22 00:39:40 +01:00 |
|
Alex Hultman
|
fb70cf78e1
|
New interface a la designated initializers
|
2018-11-22 00:20:38 +01:00 |
|
Alex Hultman
|
519c1f5b60
|
Some clean-ups
|
2018-11-21 23:19:20 +01:00 |
|
Alex Hultman
|
91620c6c42
|
(Just barely) pass Autobahn tests chapter 1 - 10
|
2018-11-21 22:46:17 +01:00 |
|
Alex Hultman
|
8bf87c9147
|
Don't crash on Autobahn testing
|
2018-11-21 19:09:42 +01:00 |
|
 Alex HultmanandGitHub
|
1a3395bb5a
|
Newer graphs
|
2018-11-16 20:35:04 +01:00 |
|
Alex Hultman
|
7a43906e1a
|
Don't crash if there's no post handler
|
2018-11-07 10:56:22 +01:00 |
|