1. 03 Nov, 2015 1 commit
  2. 29 Oct, 2015 2 commits
  3. 26 Oct, 2015 2 commits
  4. 21 Oct, 2015 3 commits
  5. 20 Oct, 2015 1 commit
  6. 19 Oct, 2015 4 commits
  7. 16 Oct, 2015 1 commit
  8. 13 Oct, 2015 1 commit
  9. 12 Oct, 2015 1 commit
  10. 05 Oct, 2015 3 commits
  11. 02 Oct, 2015 2 commits
  12. 01 Oct, 2015 1 commit
    • Julien Muchembled's avatar
      Review API betweeen connections and connectors · 57481c35
      Julien Muchembled authored
      - Review error handling. Only 2 exceptions remain in connector.py:
      
        - Drop useless exception handling for EAGAIN since it should not happen
          if the kernel says the socket is ready.
        - Do not distinguish other socket errors. Just close and log in a generic way.
        - No need to raise a specific exception for EOF.
        - Make 'connect' return a boolean instead of raising an exception.
        - Raise appropriate exception when answer/ask/notify is called on a closed
          non-MT connection.
      
      - Add support for more complex connectors, which may need to write for a read
        operation, or to read when there's pending data to send. This will be
        required for SSL support (more exactly, the handshake will be done in
        a transparent way):
      
        - Move write buffer to connector.
        - Make 'receive' fill the read buffer, instead of returning the read data.
        - Make 'receive' & 'send' return a boolean to switch polling for writing.
        - Tolerate that sockets return 0 as number of bytes sent.
      
      - In testConnection, simply delete all failing tests, as announced
        in commit 71e30fb9.
      57481c35
  13. 30 Sep, 2015 1 commit
  14. 24 Sep, 2015 4 commits
  15. 23 Sep, 2015 3 commits
  16. 15 Sep, 2015 8 commits
  17. 14 Sep, 2015 1 commit
  18. 07 Sep, 2015 1 commit