Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use seasocks lib to serve the websockets #51

Open
ThibaultNocchi opened this issue May 8, 2020 · 0 comments
Open

Use seasocks lib to serve the websockets #51

ThibaultNocchi opened this issue May 8, 2020 · 0 comments
Labels
server Relating to the server module

Comments

@ThibaultNocchi
Copy link
Member

Right now, two libs are used on the communication part of the server:

  • websocketpp, used to expose websockets to the web client
  • seasocks, used to run a simple file server to download files and corpus

websocketpp was found and used way before the need to serve static files came. Once we needed to download archives from the web client, we found seasocks to be really simple to build and use. But it also provides a websocket interface, which can be used on the same port as the HTTP server.

This change could free a lot of resources and an exposed port used by the server. But before doing so, one must check the viability of the seasocks library on the websockets side.

@ThibaultNocchi ThibaultNocchi added the server Relating to the server module label May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
server Relating to the server module
Projects
None yet
Development

No branches or pull requests

1 participant