On Monday 28 September 2015 16:05:39 Giuseppe Scrivano wrote: > Tim Ruehsen <tim.rueh...@gmx.de> writes: > > wgnutls_write is called without timeout. So, what can we do here ? > > > > But maybe we don't have to check for GNUTLS_E_REHANDSHAKE at this point at > > all. Regarding > > http://www.gnutls.org/manual/html_node/Re_002dauthentication.html, only > > gnutls_record_recv() returns GNUTLS_E_REHANDSHAKE. > > > > If you don't mind, I'll remove the rehandshake code from wgnutls_write(). > > yes, if it cannot return that error code, please drop the code that > checks for it.
At least it is not explicitly documented. I removed the code from wgnutls_write() and pushed the patch. Regards, Tim