seasocks
seasocks copied to clipboard
Simple, small, C++ embeddable webserver with WebSockets support
I wonder how much effort would be required for seasocks to be a client as well as a server? Ideally with the same event-loop.
This Pull Request adds a new class FileResponse which will asynchronously stream file data back to a client. It can be used in two ways: * A shared pointer to...
Looks like initial support for compression is enabled for websockets but not for Responses on PageHandlers
Browsing the code, it looks like the Page Handlers cascade by calling the `handle()` function in all of the handlers in its vector. The first thing this handler does is...
In order to host a CrackedUriPageHandler on a path like `/foo/bar/baz`, it seems to me that a separate PathHandler handler has to be created for each component of the path...
Though you can set up static file hosting based on the incoming URI, there appears to be no way to use the sendStaticData function from a dynamic Response from a...
Requested over email a couple of times. Issues would be: - how to ensure we pick a good SSL library, and configure and use it an a secure manner -...
Hello, I like your websocket-implementation because of its simplicity and purity. Sadly I obtain an error when I try to log in with chrome on android or chromium on linux,...
This makes it impossible to send, for example, JSON error messages or to replace the default Seasocks HTML error message/template with a custom one.
Not that Seasocks is really meant for secure applications, but... ``` echo $'GET /../../../../../../../etc/passwd HTTP/1.1\r\n\r\n' | nc localhost 3146 ``` ..."works" to get the password file.