[Help-gnutls] Large Data Support through Gnu TLS

Pavan Puri pavan.puri at gmail.com
Tue Nov 13 07:12:53 CET 2007


Hi Florian,
I got this information from man page of send() command on Linux and
Solaris Machines.
We have even tested/verified this by sending data of size upto 1.6 MB
using TCP send().
Best Regards
Pavan

On 11/12/07, Florian Weimer <fweimer at bfk.de> wrote:
> * 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                <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