[Issues] [mod_gnutls 0000095]: use of mod_gnutls creates maximum POST limit in Firefox

Mantis Bug Tracker issues at outoforder.cc
Tue Jul 14 10:41:44 EDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://issues.outoforder.cc/view.php?id=95 
====================================================================== 
Reported By:                nitro322
Assigned To:                
====================================================================== 
Project:                    mod_gnutls
Issue ID:                   95
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Apache Version:             2.2.10 
====================================================================== 
Date Submitted:             2009-03-22 12:38 EDT
Last Modified:              2009-07-14 10:41 EDT
====================================================================== 
Summary:                    use of mod_gnutls creates maximum POST limit in
Firefox
Description: 
Note:  This is using version 0.5.4 of mod_gnutls, but there wasn't a choice
for that in the Product Version list.

I've come across a problem with mod_gnutls and Firefox that's rather
difficult to explain.  After switching to mod_gnutls (from openssl), I
found that I could no longer edit any of "long" posts on my Drupal site. 
When clicking the submit button, firefox would try to send the POST about
6 times, then give up and return a completely blank page.

Only edits over https were affected; edits over http worked fine.  Other
browsers (Konqueror and Opera) also worked fine.  It took a while to
troubleshoot, but I was able to narrow it down to a combination of
mod_gnutls and Firefox.
====================================================================== 
Total Sponsorship = US$ 5

2009-05-18 18:59: ZyanKLee (US$ 5) 
====================================================================== 

---------------------------------------------------------------------- 
 (0000142) nitro322 (reporter) - 2009-04-01 23:48
 http://issues.outoforder.cc/view.php?id=95#c142 
---------------------------------------------------------------------- 
This issue caused too many problems on my site, so I had to switch back to
mod_ssl.  As a result, the test page I posted will no longer show the
problem (this issue doesn't exist with mod_ssl).

I'm going to have to stick with mod_ssl until this problem is resolved, as
I need to be able to POST data to my website.  If I can do anything to help
troubleshoot this, feel free to ask; I'm very interested in this project,
and I've left my mod_gnutls configuration commented out in the hope that I
can switch over to it again some day. 

---------------------------------------------------------------------- 
 (0000143) jeff42 (reporter) - 2009-04-28 06:38
 http://issues.outoforder.cc/view.php?id=95#c143 
---------------------------------------------------------------------- 
I can semi-confirm this bug:
Only when I send large POST data with xulrunner based browsers on Debian I
encounter this  bug,
Neither firefox on Windows nor Firefox on Linux (downloaded from
Mozilla.com) seem to fail.

But also switching back to mod_ssl everything works fine, so there must
also be a problem in mod_gnutls

Addition: I was wrong about firefox on linux from Mozilla, this also fails

 

---------------------------------------------------------------------- 
 (0000145) ZyanKLee (reporter) - 2009-05-18 18:57
 http://issues.outoforder.cc/view.php?id=95#c145 
---------------------------------------------------------------------- 
I can confirm this problem.
At my side its not a drupal, but a wordpress, but I guess this is less
important.

When I use mod_gnutls with apache2 and firefox3 I get with big posts and
edits the same behaviour as nitro322 described. After reverting to mod_ssl
everything works fine.

So I needed to stay with mod_ssl.



Some facts for reproducing:


SERVER x86:

# apache2 -version
Server version: Apache/2.2.11 (Unix)

# php --version
PHP 5.2.9-pl2-gentoo with Suhosin-Patch 0.9.7 (cli) (built: May 18 2009
21:06:41)
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

# gnutls-cli --version
gnutls-cli (GnuTLS) 2.6.6

# qlist -I -v | grep mod_gnutls
www-apache/mod_gnutls-0.5.3



CLIENT amd64:

Firefox:
Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.0.10) Gecko/2009051307
Gentoo Firefox/3.0.10

$ openssl version
OpenSSL 0.9.8k 25 Mar 2009

$ gnutls-cli --version
gnutls-cli (GnuTLS) 2.6.6




Hope this helps.

 

---------------------------------------------------------------------- 
 (0000146) marlowe (reporter) - 2009-06-07 18:11
 http://issues.outoforder.cc/view.php?id=95#c146 
---------------------------------------------------------------------- 
I can also confirm this bug.  When attempting to send POST messages to
squirrelmail through mod_gnutls, the page returned is blank.  This error
does not occur when connecting through IE.  The error disappears when
using a non-Firefox browser, sending to http rather than https or using
mod_ssl rather than mod_gnutls. 

---------------------------------------------------------------------- 
 (0000149) ZyanKLee (reporter) - 2009-06-22 08:47
 http://issues.outoforder.cc/view.php?id=95#c149 
---------------------------------------------------------------------- 
Also reported at debian bugzilla:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=513249

and in mozilla bugtracker:
https://bugzilla.mozilla.org/show_bug.cgi?id=490442

 

---------------------------------------------------------------------- 
 (0000152) nmav (manager) - 2009-06-30 13:57
 http://issues.outoforder.cc/view.php?id=95#c152 
---------------------------------------------------------------------- 
Could I have a capture of wireshark of the data transferred when this error
happens? Also compiling mod_gnutls with MOD_GNUTLS_DEBUG equal to 1 (change
mod_gnutls.h) will create /tmp/gnutls_debug that contains useful
information. Please send that to me or attach it here. 

---------------------------------------------------------------------- 
 (0000166) marlowe (reporter) - 2009-07-14 10:41
 http://issues.outoforder.cc/view.php?id=95#c166 
---------------------------------------------------------------------- 
I should be able to get this to you by the end of the week.  Sorry I can't
get it to you sooner, but I am on the road the next couple of days. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-22 12:38 nitro322       New Issue                                    
2009-03-22 12:38 nitro322       Apache Version            => 2.2.10          
2009-04-01 23:48 nitro322       Note Added: 0000142                          
2009-04-27 10:11 jeff42         Note Added: 0000143                          
2009-04-28 06:38 jeff42         Note Edited: 0000143                         
2009-04-29 02:20 jeff42         Issue Monitored: jeff42                      
2009-04-29 09:04 urkle          version                  0.4.0 => 0.5.4      
2009-05-18 18:49 ZyanKLee       Note Added: 0000145                          
2009-05-18 18:57 ZyanKLee       Note Edited: 0000145                         
2009-05-18 18:59 ZyanKLee       Sponsorship Added        ZyanKLee: US$ 5     
2009-05-18 18:59 ZyanKLee       Sponsorship Total        0 => 5              
2009-05-18 18:59 ZyanKLee       Issue Monitored: ZyanKLee                    
2009-06-07 18:11 marlowe        Note Added: 0000146                          
2009-06-22 08:30 ZyanKLee       Tag Attached: apache2                        
2009-06-22 08:30 ZyanKLee       Tag Attached: big packages                    
2009-06-22 08:30 ZyanKLee       Tag Attached: error                          
2009-06-22 08:30 ZyanKLee       Tag Attached: firefox                        
2009-06-22 08:30 ZyanKLee       Tag Attached: mod_gnutls                     
2009-06-22 08:34 ZyanKLee       Note Added: 0000149                          
2009-06-22 08:47 ZyanKLee       Note Edited: 0000149                         
2009-06-30 13:57 nmav           Note Added: 0000152                          
2009-06-30 14:15 nmav           Issue Monitored: nmav                        
2009-07-14 10:41 marlowe        Note Added: 0000166                          
======================================================================




More information about the Issues mailing list