Hi,
This patch is to fix timeout at login with roundcube (blank page) when using NGINX as imap server.
NGINX (http://nginx.net/) is IMAP front-end which can be used to balance request to different backend.
NGIX returns "* BAD internal server error" when it can not validate the username and password during the LOGIN stage (it is its wilcard error answer).
As the string starts with "*", iil_ReadReply will discard the line, when it should not when it is an answer to the "a001 login" request.
I include an svn diff of the change I have added to our local copy to avoid this issue.
This is perhaps not the cleanest patch possible to the issue but prevent this timeout to occur.
Regards,
Thomas Mangin Technical Director -- Exa Networks Limited - http://www.exa-networks.co.uk/ Company No. 04922037 - VAT no. 829 1565 09 27-29 Mill Field Road, BD16 1PY, UK Phone: +44 (0) 845 145 1234 - Fax: +44 (0) 1274 567646
--- 8< --- detachments --- 8< --- The following attachments have been detached and are available for viewing. http://detached.gigo.com/rc/U8/6aQiB9Lj/nginx-fix.txt Only click these links if you trust the sender, as well as this message. --- 8< --- detachments --- 8< ---
List info: http://lists.roundcube.net/dev/