diff options
author | 2019-05-08 23:22:19 +0000 | |
---|---|---|
committer | 2019-05-08 23:22:19 +0000 | |
commit | a168ef1a3eeba268f844d8ae3ecbd200113f8823 (patch) | |
tree | 100558c0c142cd15d1ab3f04593b38029b7208c6 /sys/dev/usb/files.usb | |
parent | Fix overflow tests such that we can allocate arrays with zero items. (diff) | |
download | wireguard-openbsd-a168ef1a3eeba268f844d8ae3ecbd200113f8823.tar.xz wireguard-openbsd-a168ef1a3eeba268f844d8ae3ecbd200113f8823.zip |
Fix and tweak websocket upgrade handling.
- Don't expect the Connection header to equal Upgrade, it may include Upgrade
- Reshuffle the code to check the Upgrade/Connection headers in one place
Reported and tested by Rivo Nurges
OK and input from benno@
Cvs: ----------------------------------------------------------------------
Diffstat (limited to 'sys/dev/usb/files.usb')
0 files changed, 0 insertions, 0 deletions