Graham
65194fae43
Rename poll to removeFirstOrNull
...
This is more consistent with the Kotlin standard library.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
493886a8bd
Improve error messages in CrossDomainChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a50e0ea998
Restrict supported HTTP methods
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a8d048de00
Remove pipelining support from the crossdomain handler
...
It isn't necessary.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
86a84c6986
Serve .jar files with the correct MIME type
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
89f7a192f9
Optimise inbound message matcher creation
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
29693a39cf
Add timeout support for all services on the RS2 port
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
a43e98e8f4
Add HTTP keep-alive support
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
03fc499566
Improve robustness of reference counting in JaggrabChannelHandler
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
620808cb97
Improve the HTTP implementation
...
This commit adds support for:
* Version negotiation.
* HEAD requests.
* Friendly error messages.
* More robust reference counting.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
92a01b6262
Add cross-domain policy support
...
Required by the most recent versions of the Java plugin (before it was
killed).
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
440711def0
Fix JAGGRAB request parsing
...
The paths aren't prefixed with a slash, unlike HTTP.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
fbb9694feb
Close JS5 connection if an invalid file is requested
...
This mimics the behaviour of the OSRS server.
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago
Graham
bc018a3b0f
Add initial JAGGRAB, JS5 and HTTP servers
...
Signed-off-by: Graham <gpe@openrs2.org>
3 years ago