rfm
7d4771ec2d
add missing brackets
2024-11-22 06:27:57 +00:00
rfm
021812f43d
Fix another leak
2024-11-22 06:18:44 +00:00
rfm
6667842dd5
Update FSF address as requested by Gregory
2024-11-07 13:37:59 +00:00
rfm
58ae7db59a
fixup headers for deletion of obsolete lock code
2024-05-30 11:06:23 +01:00
Richard Frith-Macdonald
c6df659d35
iClose socket if we end loading with an I/O operation in progress
2023-06-26 12:55:01 +01:00
Richard Frith-Macdonald
b8aedfc53e
Fix recently introduced bug with premature connection close
2023-02-01 19:17:12 +00:00
Richard Frith-Macdonald
1cb6ef8572
Attept to support proxy environment variables
2022-11-29 11:16:36 +00:00
Richard Frith-Macdonald
d5d8a71c79
Allow certificate based rejection of DO connection attempts.
2022-11-21 10:40:33 +00:00
Richard Frith-Macdonald
37f5a2f9e1
tweak life of the I/O of a connection.
2022-10-21 16:37:54 +01:00
Richard Frith-Macdonald
726d24bac7
Make http keepalive for GSHTTPURLHandle more robust.
2022-10-18 18:01:02 +01:00
Richard Frith-Macdonald
abd5223579
Fixup debug logging of http requests with authentication
2022-07-27 13:52:01 +01:00
Richard Frith-Macdonald
1934ce6205
Changes to avoid placing sensitive information in debug logs.
2022-05-20 12:32:31 +01:00
Riccardo Mottola
19d76d2478
The portable way to detect if a socket is reusable or has been closed
...
was failed, since its test read would leave the file handle with a read
in progress, invalidating further background reads. More recent versions
of Windows seem to handle the unix way.
2021-04-13 23:59:45 +02:00
Richard Frith-Macdonald
d7e4086f6b
Rewrite handling of tls handshake to operate asynchronously, attempting continuation of the handshake when the socket becomes readable. The point of this is to prevent recursive entry into the runloop (and possible stack overflow) if the remote end fails to send anything for a while.
2021-03-05 11:54:32 +00:00
Richard Frith-Macdonald
b45feeb8d7
Fixes for SSL/TLS support using GNUTLS under MinGW. Use send/recv
...
rather than read/write in TLS push/pull functions (works with winsock
and unix) and perform mappings between winsock error codes and
unix/gnutls error codes so that we correctly repeat operations whe they
fail in non-blockign mode.
2021-02-13 11:08:06 +00:00
Richard Frith-Macdonald
19c32ba0f5
Enable NSFileHandle TLS support under mingw
2021-02-11 20:03:41 +00:00
Richard Frith-Macdonald
1b7bf26bea
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
2020-11-29 06:57:47 -05:00
Gregory John Casamento
753c907938
Fix address for FSF and License name in all headers in base
2019-12-09 18:36:00 -05:00
Richard Frith-Macdonald
6f3bd6ac97
Expose GNU TLS wrappers and add methods to get certificate expiry
2019-01-16 09:56:08 +00:00
Richard Frith-Macdonald
458b8a1e79
expose gnustep specific methods for old code
2018-12-05 10:43:59 +00:00
Richard Frith-Macdonald
e01b592c51
wrong url was assigned
2018-12-04 21:06:30 +00:00
Richard Frith-Macdonald
280b2cbe83
Changes for keeping a connection in use
2018-12-04 13:34:53 +00:00
Richard Frith-Macdonald
ed286536e2
Add GSTLSServerName option
2018-05-18 20:26:35 +01:00
Richard Frith-Macdonald
3ced3237e8
Use standard locks rathere than obsolete lazy lock classes
2018-04-10 14:59:35 +01:00
Richard Frith-Macdonald
81102fae85
improve logging of http comms and of deadlocks
2018-03-16 15:11:02 +00:00
Richard Frith-MacDonald
8183cd9557
Try to ensure that headers with non-ascii characters are encoded properly (and at least don't cause an exception).
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39873 72102866-910b-0410-8b05-ffd578937521
2016-06-17 12:36:20 +00:00
Richard Frith-MacDonald
de8428ab4a
Fixup Setting TLS properties
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39694 72102866-910b-0410-8b05-ffd578937521
2016-04-26 11:07:25 +00:00
Richard Frith-MacDonald
67e4c0581d
standardise -setDebug: extension
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39554 72102866-910b-0410-8b05-ffd578937521
2016-03-17 08:12:45 +00:00
Richard Frith-MacDonald
62d2bcbabc
changes for use of _WIN32 define on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
516bde6dea
fixup for nul termination of debug output
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38955 72102866-910b-0410-8b05-ffd578937521
2015-08-30 10:25:52 +00:00
Richard Frith-MacDonald
3bbe9ff957
more tweaks ... move base64 encoding to shared private function
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38954 72102866-910b-0410-8b05-ffd578937521
2015-08-30 09:23:27 +00:00
Richard Frith-MacDonald
5ff4f40d40
tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38948 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:45:52 +00:00
Richard Frith-MacDonald
f22f51b4e5
keep old format if there are no nul bytes to print
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38947 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:25:16 +00:00
Richard Frith-MacDonald
574c83e0bf
Safer debug logging for http request/response
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38946 72102866-910b-0410-8b05-ffd578937521
2015-08-29 20:12:33 +00:00
Richard Frith-MacDonald
959843ce81
fix leak of handle
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38144 72102866-910b-0410-8b05-ffd578937521
2014-11-01 11:11:46 +00:00
Richard Frith-MacDonald
2a7fa54019
Workaround for buggy server-side software
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37895 72102866-910b-0410-8b05-ffd578937521
2014-05-20 08:14:19 +00:00
Richard Frith-MacDonald
a1dc63adf7
fix memory leak reauthenticating
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37401 72102866-910b-0410-8b05-ffd578937521
2013-11-23 06:10:16 +00:00
Richard Frith-MacDonald
f46a145ba4
quicker resource cleanup on handshake failure
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37273 72102866-910b-0410-8b05-ffd578937521
2013-10-24 13:35:32 +00:00
Richard Frith-MacDonald
f8d4ae3dfe
improve diagnostic output
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37272 72102866-910b-0410-8b05-ffd578937521
2013-10-22 11:37:01 +00:00
Richard Frith-MacDonald
ed09c55959
leak detection improvements
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
Richard Frith-MacDonald
b2d5fd280c
Changes for 64bit clean printf format strings.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36810 72102866-910b-0410-8b05-ffd578937521
2013-07-03 06:46:41 +00:00
Richard Frith-MacDonald
ccf505da7c
set content length header if not already set
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35825 72102866-910b-0410-8b05-ffd578937521
2012-11-27 11:32:32 +00:00
Richard Frith-MacDonald
a4e0d82300
backward compatibility tweak
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35652 72102866-910b-0410-8b05-ffd578937521
2012-10-08 09:50:28 +00:00
Richard Frith-MacDonald
f4eb5e2726
More SSL/TLS options support
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35618 72102866-910b-0410-8b05-ffd578937521
2012-09-30 10:14:00 +00:00
Richard Frith-MacDonald
0be505308d
simplification, including use of strtoull() everywhere
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35503 72102866-910b-0410-8b05-ffd578937521
2012-09-03 13:36:45 +00:00
Richard Frith-MacDonald
6908b4724d
Use NSLog consistently for debug output
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34920 72102866-910b-0410-8b05-ffd578937521
2012-03-11 11:00:08 +00:00
Richard Frith-MacDonald
32fc733268
changes to support alternative header locations
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34290 72102866-910b-0410-8b05-ffd578937521
2011-12-15 09:42:39 +00:00
Richard Frith-MacDonald
eb8b275c1f
internal workaround for clang namespace pollution.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33993 72102866-910b-0410-8b05-ffd578937521
2011-10-14 15:46:13 +00:00
Richard Frith-MacDonald
fbdcab1d55
solaris thread-saff errrno fix
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33983 72102866-910b-0410-8b05-ffd578937521
2011-10-14 11:40:34 +00:00
Richard Frith-MacDonald
5021629c2b
small tweak for lowering resource usage during very heavy use of outgoing
...
connections.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33950 72102866-910b-0410-8b05-ffd578937521
2011-10-07 15:15:05 +00:00