A.L.E.C wrote:
Clicking on message generate two requests:

"GET /?_task=mail&_action=preview&_uid=414&_mbox=Spam&_framed=1 HTTP/1.1" 304 26
"POST /?_task=mail&_action=mark HTTP/1.1" 200 205

and one login to imap server for each. I think such "related actions" should be done with one imap connection and one request.
I've made a patch for that, but I'm not shure it's good and only solution of discussed idea. Trying to learn your code, but need confirmation for that.

--
Aleksander 'A.L.E.C' Machniak http://alec.pl gg:2275252
LAN Management System Developer http://lms.org.pl
Roundcube Webmail Project Developer http://roundcube.net





--- 8< --- detachments --- 8< ---
The following attachments have been detached and are available for viewing.
 http://detached.gigo.com/rc/3d/t35f3AXG/preview_and_read_in_.patch
Only click these links if you trust the sender, as well as this message.
--- 8< --- detachments --- 8< ---

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to