mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Support writing large chunks of data over tls on windows
This commit is contained in:
parent
782e7aed31
commit
ed9bb899a7
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,12 @@
|
|||
2021-05-15 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/GSFileHandle.m:
|
||||
* Source/win32/GSFileHandle.m:
|
||||
When we receive an event telling us the handle is writable, repeatedly
|
||||
write until either all the data we have is written or until the write
|
||||
attempt doesn't write anything. On mswindows this copes with the case
|
||||
of the gnutls write only writing 16KB chunks at a time.
|
||||
|
||||
2021-05-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* configure.ac: Check for declaration of CURLOPT_MAXAGE_CONN
|
||||
|
|
|
@ -2264,7 +2264,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
item = [info objectForKey: NSFileHandleNotificationDataItem];
|
||||
length = [item length];
|
||||
ptr = [item bytes];
|
||||
if (writePos < length)
|
||||
while (writePos < length)
|
||||
{
|
||||
int written;
|
||||
|
||||
|
|
|
@ -2220,7 +2220,7 @@ NSString * const GSSOCKSRecvAddr = @"GSSOCKSRecvAddr";
|
|||
item = [info objectForKey: NSFileHandleNotificationDataItem];
|
||||
length = [item length];
|
||||
ptr = [item bytes];
|
||||
if (writePos < length)
|
||||
while (writePos < length)
|
||||
{
|
||||
int written;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue