[Help-gnutls] Large Data Support through Gnu TLS

Florian Weimer fweimer at bfk.de
Mon Nov 12 10:20:02 CET 2007

* 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

> "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                <fweimer at bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

More information about the Gnutls-help mailing list