Unknown W. Brackets
c98d96c78f
http: Avoid logging errors for would block.
...
It's not an error, this case is expected.
2020-08-23 21:32:06 -07:00
Henrik Rydgård and GitHub
0752e7d158
Merge pull request #13302 from unknownbrackets/net-local
...
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00
Unknown W. Brackets
31830dd4df
native: Minor header cleanup.
2020-08-18 06:59:49 -07:00
Henrik Rydgård
5d64fc5ff1
Switch to PPSSPP's assert functions (don't use the system's)
2020-08-16 10:01:10 +02:00
Henrik Rydgård
ccc0331279
Move timeutil to Common. (Experiment to see how much work it is to move these).
2020-08-15 20:53:08 +02:00
Henrik Rydgård
5eb13378c6
Remove base/logging from a lot more files in native
2020-08-15 19:09:00 +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
ANR2ME and Henrik Rydgård
596fad3f42
Provides quick IP fill on Adhoc Server IP address setting to makes player's life easier :)
2020-07-23 12:41:13 +02:00
Unknown W. Brackets
4d47715e41
http: Check cancel flag more often.
...
Would be better to use non-blocking sockets, but this code is working,
so not planning to rewrite it right now.
2020-07-04 21:18:41 -07:00
Henrik Rydgård
bd8083fb26
Downloader: Join threads in CancelAll
2020-06-28 18:34:00 +02:00
Henrik Rydgård
1a8084cdbc
Different handling of Download lifetimes. Might help an issue from #13057 (1.10 crash mysteries)
2020-06-28 13:26:12 +02:00
Unknown W. Brackets
11e828053b
http: Avoid detach() in webserver code.
...
Should make debugger server more viable on Switch. Also fixes a leak.
2020-03-03 23:08:34 -08:00
Henrik Rydgård
a4ba5d4859
HttpClient/Buffer: Just some tweaks/sanity checks
...
After a mysterious crash report by Azuka on Discord.
2020-02-07 00:09:42 +01:00
Henrik Rydgård and GitHub
13f87301cf
Merge pull request #12371 from unknownbrackets/thread-detach
...
Avoid thread.detach(), join when needed instead
2019-10-07 20:27:42 +02:00
Unknown W. Brackets
987448577f
UI: Join downloads on destruct.
2019-09-28 11:40:10 -07:00
M4xw and Unknown W. Brackets
a8213e80f7
Switch: Disable IPv6.
2019-09-28 09:08:32 -07:00
Unknown W. Brackets
94e6950d48
http: Support redirects for load URL too.
...
Might as well, especially to keep old recent entries working.
2019-06-23 13:12:13 -07:00
Unknown W. Brackets
c5e2c0e6cd
http: Support relative redirects too.
...
Per HTTP/1.1.
2019-06-23 12:22:10 -07:00
Unknown W. Brackets
17bc6a5a2d
http: Support redirects for downloads.
2019-06-23 12:04:59 -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
Henrik Rydgård
989b564fa4
Game server: Reject bad URLs
2019-05-07 21:47:50 +02:00
Unknown W. Brackets
c7c45f0aca
http: Fix warning on compare in url decode.
2019-03-23 07:25:58 -07:00
Henrik Rydgård
2d5acc83b6
Use MSG_NOSIGNAL for some more send() calls. Didn't fix anything though.
...
See #11853
2019-03-01 08:35:35 +01:00
Unknown W. Brackets
809c0f3e2c
http: Correct typo.
...
Oops, somehow deleted an important character when pushing up.
2018-12-29 08:16:56 -08:00
Unknown W. Brackets
359afb2d6b
http: Add timeout on no response.
...
Firewalls can cause this, by opening a connection but never responding.
2018-12-27 10:15:58 -08:00
Unknown W. Brackets
99ed2e4722
http: Parse port in ipv6 addresses.
2018-12-21 22:31:47 -08:00
Henrik Rydgård
8686960180
Delete some unused DNS code, just because.
2018-12-19 13:46:50 +01:00
Henrik Rydgård
ab407a4a21
TWo warning fixes
2018-12-17 21:07:52 +01:00
pent0
4a53853f79
Update UWP port
2018-12-10 20:55:07 +07:00
Unknown W. Brackets
495a6359c8
http: Don't crash on unclean client disconnect.
...
This happens even when doing http ISO streaming.
2018-06-17 17:49:40 -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
cd85dec01b
Debugger: Prevent infinite loop on dead socket.
...
If send() fails, abort instead of retrying forever.
2018-06-09 18:26:41 -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
Unknown W. Brackets
6bec3db3fb
Debugger: Disconnect on shutdown/disable.
...
Although, it could be made safe to keep them up when restarting with
debugging still enabled.
2018-06-08 06:59:16 -07:00
Benjamin Hodgetts and GitHub
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
Unknown W. Brackets
65d072c7b0
http: Add some operations to avoid blocking.
2018-06-07 14:11:52 -07:00
Unknown W. Brackets
5b95de663e
net: Listen on ipv6 and ipv4.
...
Hurray, no longer "part of the problem" for ipv4.
2018-06-06 05:59:07 -07:00
Unknown W. Brackets
ca4340b9e0
net: Support ipv6 lookups.
...
We try to connect() to both, so should still be safe in environments where
ipv6 is broken.
2018-06-06 05:59:07 -07:00
twinaphex
db404adb95
More mingw patches
2017-08-29 22:24:20 +02:00
Unknown W. Brackets
2faaf0a9fa
http: Cancel remote server connects faster.
...
This way the UI doesn't appear to hang when you click cancel.
2017-03-22 00:03:08 -07:00
Fireball Wayne
ed046079a5
Function name change, additional comments, code cleanup for remote disc streaming
2017-03-11 00:46:50 -05:00
Fireball Wayne
8853b72684
Resolve conflict on http::client get
2017-03-11 00:23:49 -05:00
Henrik Rydgård
85c8d9b806
Homebrew Store: Add support for cancelling downloads, fix progress bar. Fixes #9374
2017-03-06 16:03:05 +01:00
Henrik Rydgård
92d082b74d
Don't crash hard on shutdown if sharing ISOs over the network
2017-03-02 11:07:24 +01:00