/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/copyright

  • Committer: Teddy Hogeborn
  • Date: 2016-02-28 10:59:18 UTC
  • Revision ID: teddy@recompile.se-20160228105918-tb8pt2p5j0tkcls3
Handle GnuTLS errors and partial sends in gnutls "module".

* mandos (GnuTLS.E_INTERRUPTED, GnuTLS.E_AGAIN): New.
  (GnuTLS.Error): Set error code as "code" attribute.
  (GnuTLS.ClientSession.send): Handle partial sends with a loop.
  (GnuTLS._retry_on_error): New function.
  (GnuTLS.record_send, GnuTLS.handshake, GnuTLS.bye): Set "errcheck"
                                                      attribute to
                                                    "_retry_on_error".
  (ClientHandler.handle): Remove loop for handling partial sends;
                          GnuTLS.ClientSession.send() will do that.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
Source: <http://www.recompile.se/mandos>
5
5
 
6
6
Files: *
7
 
Copyright: Copyright © 2008-2012 Teddy Hogeborn
8
 
           Copyright © 2008-2012 Björn Påhlsson
 
7
Copyright: Copyright © 2008-2015 Teddy Hogeborn
 
8
           Copyright © 2008-2015 Björn Påhlsson
9
9
License: GPL-3+
10
10
    This program is free software: you can redistribute it and/or
11
11
    modify it under the terms of the GNU General Public License as
22
22
    <http://www.gnu.org/licenses/>.
23
23
    .
24
24
    On Debian systems, the complete text of the GNU General Public
25
 
    License can be found in "/usr/share/common-licenses/GPL".
 
25
    License can be found in "/usr/share/common-licenses/GPL-3".