GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — #692 Add the possibility to specify "Sec-WebSocket-Protocol" by KaSSaaaa · Pull Request #693 · CrowCpp/Crow Conversation
MichaelSB
reviewed
Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
I could use your split function in my websocket compression PR, if yours is merged first :D |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I rewrote find_first_of algorithm and put it in utility.h :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
If I don't miss it, I think a getter is needed for the selected subprotocol in the connection. Otherwise looks good to me. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Currently, the "subprotocol_" is only a private variable and is only used in the Connection::start but I can add a getter in the interface and implementation if it's needed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think that's it :) I asked for the getter, because users must be able to know which subprotocol was selected and probably switch code paths accordingly. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
build fails on ubuntu at least, other os will run later. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Apparently missed the include of for utility::find_first_of ... |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
May I ask you also to add unit tests? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
4d185dc to
3287ee9
Compare
|
@mrozigor Sorry about the delay, been quite busy lately and totally forgot about that... Let me know if you need more tests ! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.