diff options
author | cbdev <cb@cbcdn.com> | 2019-06-01 21:27:52 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-06-01 21:27:52 +0200 |
commit | b9297647c68c963a977e2c18f421211e24f9e85a (patch) | |
tree | 173d0533f7c76665dea9956ed4da4f3228e01dc9 /websocksy.c | |
parent | 92a291b5fae32caba2212192bc94b8ef568c362d (diff) | |
download | websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.gz websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.tar.bz2 websocksy-b9297647c68c963a977e2c18f421211e24f9e85a.zip |
Implement file backend
Diffstat (limited to 'websocksy.c')
-rw-r--r-- | websocksy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/websocksy.c b/websocksy.c index f625174..c635ca7 100644 --- a/websocksy.c +++ b/websocksy.c @@ -130,6 +130,7 @@ int client_connect(websocket* ws){ ws->peer = config.backend.query(ws->request_path, ws->protocols, ws->protocol, ws->headers, ws->header, ws); if(!ws->peer.host){ //TODO check port if network socket + //TODO try to extract port from host if none given //no peer provided return 1; } |