Skip to content

[http] analyze websocket opcode in civetweb (#9207)#9209

Merged
linev merged 1 commit intoroot-project:masterfrom
linev:websocket_codes
Oct 29, 2021
Merged

[http] analyze websocket opcode in civetweb (#9207)#9209
linev merged 1 commit intoroot-project:masterfrom
linev:websocket_codes

Conversation

@linev
Copy link
Copy Markdown
Member

@linev linev commented Oct 29, 2021

In civetweb socket handler check different operation codes
According to RFC6455, all not-supported codes should be handled as
failure. Means application should get close message for the socket.

Prevent getting close message twice

This PR fixes #9207

In civetweb socket handler check different operation codes
Acording to RFC6455, all not-supported codes should be handled as
failure. Means application should get close message.

Prevent getting close message twice
@phsft-bot
Copy link
Copy Markdown

Starting build on ROOT-debian10-i386/cxx14, ROOT-performance-centos8-multicore/default, ROOT-ubuntu16/nortcxxmod, ROOT-ubuntu2004/soversion, mac1014/python3, mac11.0/cxx17, windows10/cxx14
How to customize builds

@phsft-bot
Copy link
Copy Markdown

Build failed on windows10/cxx14.
Running on null:C:\build\workspace\root-pullrequests-build
See console output.

Errors:

  • [2021-10-29T09:00:04.494Z] CMake Error at C:/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1056 (message):

Copy link
Copy Markdown
Member

@bellenot bellenot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@linev linev merged commit a7233b2 into root-project:master Oct 29, 2021
@linev linev deleted the websocket_codes branch October 29, 2021 11:44
@phsft-bot
Copy link
Copy Markdown

Build failed on mac11.0/cxx17.
Running on macphsft23.dyndns.cern.ch:/Users/sftnight/build/workspace/root-pullrequests-build
See console output.

Errors:

  • [2021-10-29T17:13:11.105Z] CMake Error at /Users/sftnight/build/workspace/root-pullrequests-build/rootspi/jenkins/root-build.cmake:1056 (message):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

WebSocket data handler does not check opcode

3 participants