Thomas Edvalson
3474ac5121
Add httpcCancelConnection and some timeout calls
2016-07-31 00:16:22 -04:00
Ken Sanislo
9efe374dc1
Define the known KeepAlive on/off flag
2016-07-26 12:39:16 -07:00
Ken Sanislo
6a94d99dc2
Add httpcSetKeepAlive() to turn HTTP Keep-Alive on and off
2016-07-26 10:47:33 -07:00
Thomas Edvalson
53e3b35466
Some const correctness in sslc/httpc inputs
2016-05-19 19:21:11 -04:00
yellows8
25aae300b2
Implemented httpc support for the remaining documented sslc-related commands.
2016-04-29 00:54:51 -04:00
yellows8
e61e45abdc
Added httpcAddDefaultCert, and some header include changes to support this.
2016-04-11 21:27:34 -04:00
yellows8
47155d75b6
Merged the HTTPC_* functions with httpc* and removed HTTPC_* from the .h, etc(this is similar to how sslc is already handled).
2016-04-11 16:19:23 -04:00
Ken Sanislo
353f7af759
httpcSetSSLOpt support ( #272 )
...
httpcSetSSLOpt support
2016-04-08 17:37:07 -04:00
yellows8
d769879933
Added httpc AddTrustedRootCA.
2016-03-08 18:19:51 -05:00
yellows8
049d2e2373
Finally added code to exit httpc properly via HTTPC_Finalize.
2016-03-08 15:00:57 -05:00
Eero Kelly
12a5fa297a
Adds function addPostDataRaw
2016-03-06 15:21:01 -05:00
yellows8
b0c5a3c87d
Clear the httpc sharedmem before using svcCreateMemoryBlock.
2016-02-29 00:45:42 -05:00
yellows8
e4e51e758b
Implemented actual httpc sharedmem handling. Implemented httpc AddPostDataAscii.
2016-02-12 18:38:39 -05:00
Ken Sanislo
e1a9d2ef9c
httpc fixes and extensions
...
Signed-off-by: Dave Murphy <davem@devkitpro.org>
2016-02-12 16:38:43 +00:00
Steven Smith
375fbce98a
Service cleanup.
2015-11-11 08:57:54 -08:00
fincs
2797540a3d
Revise most services to follow these guidelines:
...
- Each service must have xyzInit/xyzExit (with that name)
- xyzInit/xyzExit use reference counting
- xyzExit returns void
- The utilities in <3ds/result.h> are used instead of manual error checking
- The intrinsics in <3ds/synchronization.h> are used instead of inline asm
- Other miscellaneous changes
- APT now uses a lightweight lock instead of a mutex
- Initial handle parameters in PTMU were killed
- Explicit init'ion to 0 or NULL has been removed for global variables
since they end up on .bss anyway
- MIC hasn't been touched because it must be rewritten first
- CFGNOR needs a slight touch before converting
- SOC is still to be cleaned up
2015-11-07 01:25:31 +01:00
fincs
e4775572c2
Merge branch 'master' into great-refactor
...
# Conflicts:
# libctru/include/3ds/services/httpc.h
2015-11-01 14:14:01 +01:00
yellows8
27469de3c1
Removed an unused debug line in httpc.c. Set the httpc servhandle to zero in httpcExit(), this fixes using httpcInit() after httpcExit(). Fixed the use_defaultproxy comment in httpc.h.
2015-10-29 15:21:08 -04:00
Lectem
8975e848d7
Use IPC helpers for httpc
2015-10-03 06:58:56 -04:00
fincs
649e95cd39
Merge branch 'master' into great-refactor
...
Conflicts:
libctru/include/3ds/services/apt.h
libctru/source/services/apt.c
2015-09-25 16:16:10 +02:00
yellows8
2b467b48b8
Implemented http service-cmd code for GetResponseHeader.
2015-09-24 13:04:18 -04:00
fincs
0d7a7f4d7d
Add missing (void) to functions without arguments
2015-09-06 18:13:31 +02:00
LunarCookies
f993eac8a2
Update httpc.c
2015-02-02 19:51:20 +00:00
LunarCookies
8cab1f28d4
HTTPC_AddRequestHeaderField Fix
2015-02-02 13:46:58 +00:00
Slashmolder
71ae462ba9
Fix for issue #66
2014-12-30 15:39:26 -08:00
plutoo
a720cb6e49
Reverting previous commit, fixing more resource leaks
2014-12-15 01:43:18 +01:00
plutoo
a3febb5fe1
Proposed fix for issue #66
2014-12-15 01:36:25 +01:00
plutoo
2d22fcd5e5
Fixed handle leak in httpc
2014-12-15 01:33:37 +01:00
Dave Murphy
c76ea75ae2
stop building everything when any header changes
2014-12-13 16:36:54 +00:00
Dave Murphy
ea97e7a529
stop polluting 3ds headers with extra system headers
2014-11-28 13:13:34 +00:00
yellows8
165e50091c
Removed debug code(exception triggers on failure) in httpc.c.
2014-11-23 22:10:16 -05:00
yellows8
240ab44f9c
Updated httpc code and added an example.
2014-11-22 00:43:39 -05:00
fincs
9b370c7eff
Reorganize includes
2014-08-26 23:18:14 +02:00
plutoo
314d53a922
Moved service source-files into source/services/.
2014-07-28 22:04:31 +02:00