help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnutls] Large Data Support through Gnu TLS


From: Florian Weimer
Subject: Re: [Help-gnutls] Large Data Support through Gnu TLS
Date: Mon, 12 Nov 2007 10:20:02 +0100

* Pavan Puri:

> Is there some kind of configurable option like blocking send in tls
> using which we can configure tls session to send whole data in loop
> (and return failure on permanent error).

You just need to wrap the call in a loop, like you do with write() or
send().

> "If the socket does not have enough buffer space available to
> hold  the  message  being  sent,  send()  blocks, unless the
> socket  has  been  placed  in  non-blocking  I/O  mode."

Where did you get this information?  It is incorrect.

-- 
Florian Weimer                <address@hidden>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstra├če 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99




reply via email to

[Prev in Thread] Current Thread [Next in Thread]