[Kde-pim] Review Request 127502: pop3: Try sending the command again if the server disconnected us

Albert Astals Cid aacid at kde.org
Tue Mar 29 00:15:55 BST 2016


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127502/
-----------------------------------------------------------

(Updated March 28, 2016, 11:15 p.m.)


Status
------

This change has been discarded.


Review request for KDEPIM and KDEPIM-Libraries.


Repository: kdepimlibs


Description
-------

It happens to me that sometimes the yahoo server disconnects me, specially between the fetch and the delete stages because after the fetch something in the pop3 resource takes a while and the yahoo server decides to kick me out.

So if sendCommand writes because we have been disconnected from the server, try disconnecting/connecting and sending the command again.

This needs https://git.reviewboard.kde.org/r/127501 to actually work.


Diffs
-----

  kioslave/src/pop3/pop3.h 97a6898 
  kioslave/src/pop3/pop3.cpp a3c791f 

Diff: https://git.reviewboard.kde.org/r/127502/diff/


Testing
-------

It works better now and is able to recover from server disconnections.


Thanks,

Albert Astals Cid

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list