libretroadmin
82e4504968
Revert "(pt. 2) static variables are initialized to '0' automatically as per C rules"
...
This reverts commit 47410df7a3d2480dd8fc7fb97cf00319ce5e9344.
2024-11-19 03:03:05 +01:00
libretroadmin
47410df7a3
(pt. 2) static variables are initialized to '0' automatically as per C rules
2024-11-18 15:59:46 +01:00
zoltanvb
66eead3afa
Move cacert.h out of deps/, since it does not belong there. ( #17122 )
2024-10-26 06:44:45 -07:00
Viačasłaŭ
3019b926c2
Fix typos ( #17068 )
2024-10-01 17:36:33 -07:00
Keith Bowes
4683e83d9a
Add support for mbedtls v3 ( #16763 )
...
v2 is not going to receive security fixes after 2024
Fixes #16672
2024-07-18 06:25:29 -07:00
Eric Warmenhoven
893b0d142e
Cloud Sync ( #15548 )
...
* cloud sync - algorithm and abstract cloud storage API
* WebDAV cloud sync driver, and associated net_http improvements
* Cloud sync settings menu
2023-08-04 09:20:50 +02:00
libretroadmin
9e34f22a29
Silence Xcode code warnings + general cleanups
2023-07-14 18:05:54 +02:00
libretroadmin
d9c196154c
(net_http.c) Get rid of strlen
2023-06-21 19:21:16 +02:00
libretroadmin
edecf0cb2d
Replace more strlcat calls with strlcpy
2023-06-18 19:25:24 +02:00
libretroadmin
7ebab640d7
Cleanups/style nits
2023-02-23 13:15:14 +01:00
crystalct
0fe92cc954
PSL1GHT fix http download ( #14994 )
2023-02-19 18:07:01 +01:00
Jamiras
0ec1a6acfd
call ssl_socket_close for ssl sockets ( #14903 )
2023-01-25 16:17:41 +01:00
retroNUC
afe3bf72bb
net_http - 3ds build fix ( #14900 )
2023-01-25 07:15:17 +01:00
retroNUC
4ad9c7e020
net_http - Temp fix for cheevos crash ( #14742 ) ( #14899 )
...
* net_http - Temp fix for cheevos crash (#14742 )
Don't use new timeout/poll code for cheevos http requests
* net_http - Typo fix in comment
2023-01-24 23:36:17 +01:00
libretroadmin
9fbd62d7b8
Reduce dependence on strcpy_literal (just a macro for strcpy) - prefer
...
going through safer strlcpy
2023-01-22 17:13:38 +01:00
libretroadmin
d5a268a2ac
* Fix signed/unsigned mismatches
...
* Fix missing IPAddr on MSVC2017 UWP - use ULONG instead since this is
just a typedef
2022-11-15 00:24:26 +01:00
LibretroAdmin
78ffb973b1
Add WIIU ifdef for socket_connect_with_timeout and revert ( #14503 )
...
else default codepath
2022-10-10 18:04:05 +02:00
gblues
714878783a
Fix socket_connect_with_timeout for WIIU ( #14483 )
...
== DETAILS
Previous work to clean up the HTTP networking code surfaced a bug
in `socket_connect_with_timeout()` that caused connections to
immediately fail. Specifically, achievements stopped working because
the http task code path was rewritten to use
`socket_connect_with_timeout` instead of `socket_connect`.
The bug appears to come down to an unsupported socket option. The final
check is to try to read `SO_ERROR` from the socket, and on WIIU the
`getsockopt()` call returns -1 and sets `lastsocketerr()` (WIIU's
equivalent to errno) to 16.
The fix is to change the logic to only abort the connection if that
`getsockopt()` call succeeds *and* the error is set.
2022-10-06 17:01:19 +02:00
Cthulhu-throwaway
d774256e0d
(Network) Add the const qualifier to some function parameters ( #14463 )
2022-10-03 07:35:37 +02:00
Cthulhu-throwaway
daf8cb9bc8
(Netplay) Add a private or CGNAT address warning to UPnP ( #14461 )
2022-10-03 01:18:34 +02:00
MrHuu
a878bd3f95
(Network) Adapt POLL for 3DS platform ( #14431 )
2022-09-25 17:15:56 +02:00
MrHuu
dbba69a2d1
(Network) Check connect errno for successful connection ( #14420 )
2022-09-18 01:15:09 +02:00
MrHuu
b88c297f8e
(Network) Don't call getsockopt on 3DS platform ( #14389 )
2022-09-06 01:51:15 +02:00
Cthulhu-throwaway
e45958b25a
(Network) Get rid of the timeout_enable parameter for socket_connect ( #14351 )
2022-08-25 04:40:19 +02:00
Cthulhu-throwaway
d3f3c58e61
(Network) Fix getnameinfo_retro's port value for HAVE_SOCKET_LEGACY platforms ( #14303 )
2022-08-08 15:28:42 +02:00
Cthulhu-throwaway
078f712b34
(WiiU) Attempt fix ( #14302 )
2022-08-07 20:32:27 +02:00
Cthulhu-throwaway
add4a1e8a0
(Network) Define inet_ntop and inet_pton for older Windows versions ( #14284 )
2022-08-05 02:23:35 +02:00
Cthulhu-throwaway
3aa1811ca9
(Network) Add getnameinfo_retro ( #14278 )
2022-08-04 13:22:49 +02:00
LibretroAdmin
53d2fdbd97
net_http_urlencode - avoid one strlen call by clever use of strlcpy
...
return value and some subtraction arithmetic
2022-08-03 15:53:12 +02:00
LibretroAdmin
ec6f4c1f55
(libretro-common) refinements to documentation
2022-08-01 13:06:35 +02:00
Cthulhu-throwaway
9b10579a54
(Network) Fix getaddrinfo_retro ( #14261 )
2022-07-31 11:22:28 +02:00
Cthulhu-throwaway
f96ef5407a
(Network) Refactor getaddrinfo_retro ( #14258 )
2022-07-30 22:43:32 +02:00
Cthulhu-throwaway
29f0ba2e71
(Network/Vita) Add net_ifinfo support ( #14225 )
2022-07-26 16:10:23 +01:00
Cthulhu-throwaway
97e3ef6ec7
(Network/Vita) Do not multiply negative timeout values ( #14217 )
2022-07-25 07:55:08 +02:00
Cthulhu-throwaway
07e03c86fa
(Network/Vita) Fix epoll's timeout parameter ( #14216 )
2022-07-25 07:07:14 +02:00
libretroadmin
a6a4b845a4
Some string simplifications - don't NULL terminate if we pass
...
string to strlcpy and/or a file_path function using strlcpy under
the hood - don't do strlcpy for trivial setting of 2/3 char strings
2022-07-25 04:39:08 +02:00
libretroadmin
675ff6b9b6
net_http_send_str - reduce the amount of times strlen is called by
...
hardcoding the length when we feed the function a constant string
(with STRLEN_CONST)
2022-07-15 17:37:30 +02:00
libretroadmin
69ddf03c91
Remove unused return variables
2022-07-12 18:00:33 +02:00
libretroadmin
7b83636b64
Remove variables that are never used because the return value
...
of the function is already used instead
2022-07-11 18:15:08 +02:00
libretroadmin
f8d14a0af6
(net_http) Simplify net_http_update - get rid of the majority of
...
gotos
2022-07-11 16:50:32 +02:00
Cthulhu-throwaway
bc78e423ee
(WiiU) Buildfix 2 ( #14104 )
2022-06-25 19:47:23 +02:00
Cthulhu-throwaway
e961f27786
(WiiU) Buildfix ( #14103 )
2022-06-25 19:19:26 +02:00
Cthulhu-throwaway
14e5cd317b
(Network) net_ifinfo refactor ( #14102 )
2022-06-25 16:37:12 +02:00
Cthulhu-throwaway
a7dc57f68f
(Network) Move the addr_6to4 function to a proper place ( #14100 )
2022-06-25 09:18:32 +02:00
Cthulhu-throwaway
2a0fce77d3
(Wii) Silence some warnings ( #14092 )
2022-06-23 14:46:53 +02:00
LibretroAdmin
4a38831c47
Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes ( #14062 )
...
* Try to reduce fixed size char arrays from PATH_MAX_LENGTH to lower sizes
2022-06-18 19:07:15 +02:00
Cthulhu-throwaway
43ad2b64b2
(Network) Replace socket_select calls
2022-06-12 02:13:34 -03:00
Cthulhu-throwaway
fed60aaee6
Wii buildfix (round 3)
...
Annoying preprocessor...
2022-06-10 14:34:54 -03:00
Cthulhu-throwaway
f46e41f6c4
Vita buildfix
2022-06-10 05:11:29 -03:00
Cthulhu-throwaway
d4324d9a0d
(Network) poll support
2022-06-04 10:46:31 -03:00