[Users] [Bug 4726] New: socket: handle interrupted transmission in ssl_write

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Fri Jan 5 15:12:54 UTC 2024


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4726

            Bug ID: 4726
           Summary: socket: handle interrupted transmission in ssl_write
           Product: Claws Mail (GTK 2)
           Version: GIT
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: olaf at aepfle.de

Created attachment 2382
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2382&action=edit
gtk2-socket-handle-interrupted-transmission-in-ssl_write.patch

According to the gnutls documentation, gnutls_record_send may indicate an
interrupted write. In this case the caller should call the function again with
the exact same parameters.

Simplify the function and return the value verbatim to the callers. A return
code of zero is not an error. Other code paths in sock_write do not consider
this as an error either.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list