Roxen.git/
server/
etc/
test/
tests/
http/
RoxenTest_websockets_2.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2018-10-16
2018-10-16 08:41:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>
9cbacc783e712624cb57f08aa0cc42b7af795ece (
2
lines) (+
2
/-
0
)
[
Show
|
Annotate
]
Branch:
agehall/websocket
Testsuite
[WebSockets]
: Improved robustness.
Survive glob hostname.
57:
url = (url/"#")[0]; Standards.URI uri = Standards.URI("websocket_example/", url);
+
if (uri->host == "*") uri->host = "127.0.0.1";
Concurrent.Promise p = Concurrent.Promise(); Connection ws = Connection(p);