[PATCH] Try again if SSL_write() fails to write

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

 



On Fri, 2012-08-03 at 09:41 -0300, Murilo Opsfelder Araujo wrote:
> From: David Woodhouse <David.Woodhouse at intel.com>
> 
> There are cases that SSL_write() returns SSL_ERROR_WANT_WRITE when, for
> instance, the socket buffer is full and could not write.  This causes
> openconnect to terminate and send BYE packet.
> 
> This patch forces openconnect to try again until timeout is reached.
> 
> Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>

You added that Signed-off-by: yourself, didn't you? I certainly hadn't
granted it, before I went through and checked the rest of the
surrounding code to make sure the patch was really correct.

Please make sure you never make up a Signed-off-by for anyone else.

I committed a variant of the patch this morning, after doing some of
that extra checking.

I think you found this using the EPEL packages? If you could file a bug
in Red Hat bugzilla, that would be appreciated; it gives me the excuse I
need for updating the package...

-- 
                   Sent with MeeGo's ActiveSync support.

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4370 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20120803/2885cd75/attachment.bin>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux