Commit graph

12 commits

Author SHA1 Message Date
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Unknown W. Brackets
a0f8e788f3 Global: Move string number parse to text/parsers.
It's not used as much as the other string utils.
2020-08-10 07:05:23 -07:00
Unknown W. Brackets
65ac59021c Debugger: Fix connection in Firefox.
Firefox now requires HTTP/1.1 or higher, which is reasonable since 1.0 is
ancient.  The Upgrade response and WebSocket protocol handling are all
HTTP/1.1 safe, so let's just support both versions.
2019-06-22 22:09:05 -07:00
Unknown W. Brackets
b7ac9a6f37 http: Discard output buffer on disconnect.
Prevents an assert.
2018-06-16 13:29:44 -07:00
Unknown W. Brackets
4232ef59b4 Debugger: Fix bounds warnings in debug mode.
Technically these were accessing outside the container.
2018-06-09 18:26:09 -07:00
Unknown W. Brackets
ccea863f00 Debugger: Use fragments for long chunks.
Gets it on the wire faster.  More importantly, this allows us to usually
avoid rampant memory allocation even for large responses.
2018-06-08 06:59:17 -07:00
Benjamin Hodgetts
79b3f81b0c
Add missing include
Fixes issue https://github.com/hrydgard/ppsspp/issues/11157
2018-06-08 12:11:05 +01:00
Unknown W. Brackets
403632b4ca http: Correct WebSocket close when code missing. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets
0fb15fc0d0 http: Use a buffer for WebSocket output.
This way we can more safely write as much as we want.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
556a46f9d5 http: Allow selecting a WebSocket subprotocol. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets
8b094f8c6f http: Allow fragmented data for WebSocket. 2018-06-07 14:11:52 -07:00
Unknown W. Brackets
b75b6801c8 http: Add a simple WebSocket server class. 2018-06-07 14:11:52 -07:00