httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kenny Smith <httpd-l...@journalscape.com>
Subject [users@httpd] Posts being truncated, migrating from 1.3 to 2.0
Date Tue, 04 Nov 2003 09:14:16 GMT
Hi all,

I've migrating from 1.3 to 2.0 and I'm using ModPerl::Registry, but  
running into a problem where my POST data is being truncated. I did an  
ngrep on port 80 and found that half way through the POST my script  
responds and then after the response the rest of the POST comes  
through. Please help, I've been trying to figure this out all day. I  
can post consistantly to a cgi script, but when I post to  
ModPerl::Registry script I experience the problem.

Here is the ngrep output

[root@server2 journals]# ngrep port 80
interface: eth0 (69.44.58.192/255.255.255.192)
filter: ip and ( port 80 )
####
T 68.234.251.235:49259 -> 69.44.58.243:80 [A]
   POST /kenny/preferences HTTP/1.1..Host:  
test.journalscape.com..Connection: close..Referer:  
http://test.journalscape.com/kenny/preferences..User-Agent: Mozilla/5.0  
(Macintosh; U; PPC Mac OS X; en) AppleWebKit/103u (KHTML, like Gecko)  
Safari/100..Accept: */*..Accept-Encoding: gzip, deflate;q=1.0,  
identity;q=0.5, *;q=0..Accept-Language: en, ja;q=0.92, ja-jp;q=0.96,  
fr;q=0.88, de-de;q=0.85, de;q=0.81, es;q=0.77, it-it;q=0.73, it;q=0.69,  
nl-nl;q=0.65, nl;q=0.62, sv-se;q=0.58, sv;q=0.54, no-no;q=0.50,  
no;q=0.46, da-dk;q=0.42, da;q=0.38, fi-fi;q=0.35, fi;q=0.31,  
pt-pt;q=0.27,  
pt;q=0.23..Cookie: 
journaler=password&xxxxxxxxxxxxxx&nickname&kenny&remember_me&1&id&1..Con

tent-Type: application/x-www-form-urlencoded..Content-Length:  
1617....subtorun=update&password=&password_again=&email=kennysjournal%40 
journalscape.com&show_email=1&title=Geekly+Obsessions&send_features=1&su 
btitle=The+misadventures+of+Kenny&history_of_me=My+name+is+Kenny+Smith%2 
C+I%27m+a+young+computer+scientist+%2F+martial+artist+from+Southern+Cali 
fornia.+I+co- 
founded+JournalScape.com%2C+with+my+wife+%3Ca+href%3D%22%2Fjenn%22%3EJen 
n%3C%2Fa%3E%2C+to+sate+my+desire+to+create+something+that+I+could+own.+I 
%27ve+grown+tired+of+working+for+%22the+man.%22+Although%2C+I+work+for+G 
oogle.com+now%2C+so+I%27m+not+really+working+for+the+man+anymore.++I+can 
%27t+say+my+journal+is+terribly+exciting%2C+but+I+certainly+enjoy+it+so+ 
it+has+already+done+its+job.+%3Cbr%3E%3Cbr%3E%0D%0A%0D%0
##

-------------- the response starts here ------------
T 69.44.58.243:80 -> 68.234.251.235:49259 [A]
   HTTP/1.1 200 OK..Date: Tue, 04 Nov 2003 08:57:05 GMT..Server:  
Apache/2.0.40 (Red Hat Linux)..Connection: close..Transfer-Encoding:  
chunked..Content-Type: text/plain; charset=ISO-8859-1....d23.
   .$VAR1 = bless( {.                 '.parameters' => [.                 
                     'subtorun',.                                     
'password',.                                    'password_again',.       
                               'email',.                                  
    'show_email',.                                    'title',.           
                           'send_features',.                              
        'subtitle',.                                    'history_of_me'.  
                                  ],.                 'email' => [.
                     'kennysjournal@journalscape.com'.                    
          ],.
      'password' => [.                                 ''.                
                 ],.
             'show_email' => [.                                   '1'.
       ],.                 'send_features' => [.                          
              '1'.
                              ],.                 'subtitle' => [.
   'The misadventures of Kenny'.                               ],.        
           '.charset' => 'I
   SO-8859-1',.                 'password_again' => [.                    
                     ''.

#
T 69.44.58.243:80 -> 68.234.251.235:49259 [A]
                             ],.                 '.cookies' => {.         
                          '
   journaler' => bless( {.                                                
           'value' => [.
                                                                       
'password',.
                                                         
'1e421d5266e64d7f',.
                                                  'nickname',.
                                    'kenny',.
                   'remember_me',.
        '1',.                                                             
           'id',.
                                                               '1'.
                                       ],.
   'name' => 'journaler',.                                                
           'path' => '/'.
                                                        }, 'CGI::Cookie'  
).
          },.                 '.fieldnames' => {},.                  
'subtorun' => [.
                     'update'.                               ],.          
         'title' => [.
                            'Geekly Obsessions'.                          
    ],.                 'hi
   story_of
#
T 69.44.58.243:80 -> 68.234.251.235:49259 [AFP]
   _me' => [.                                      'My name is Kenny  
Smith, I\'m a young computer s
   cientist / martial artist from Southern California. I co-founded  
JournalScape.com, with my wife
   <a href="/jenn">Jenn</a>, to sate my desire to create something that  
I could own. I\'ve grown ti
   red of working for "the man." Although, I work for Google.com now, so  
I\'m not really working fo
   r the man anymore.  I can\'t say my journal is terribly exciting, but  
I certainly enjoy it so it
    has already done its job. <br><br>...%0'.                             
         ],.
     '.header_printed' => 1,.                 'escape' => 1.              
   }, 'CGI' );...0....
#

---------- then the rest of the POST is transferred -----------
T 68.234.251.235:49259 -> 69.44.58.243:80 [AP]
    
A%3Ctable+width%3D%22100%25%22%3E%0D%0A%3Ctr%3E%0D%0A%3Ctd+class%3D%22to 
p-block%22+valign%3D%22m
    
iddle%22%3E%0D%0A%3Cb%3E%3Ca+href%3D%22http%3A%2F%2Fwww.journalscape.com 
%2F%22%3EGet+a+Journal+t
    
oday%21%3C%2Fa%3E%3C%2Fb%3E%0D%0A%3C%2Ftd%3E%0D%0A%3Ctd+class%3D%22top- 
block%22+valign%3D%22midd
    
le%22+align%3D%22right%22%3E%0D%0A%3Cb%3E%3Ca+href%3D%22%2Fdonation_begi 
n.html%22%3EMake+a+donat
    
ion+to+JournalScape%3C%2Fa%3E%3C%2Fb%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C 
%2Ftd%3E%0D%0A%3Ctd%3E%3
    
Ca+href%3D%22%2Fdonation_begin.html%22%3E%3Cimg+src%3D%22%2Fimages%2Fpay 
pal_button.gif%22+valign
    
%3D%22middle%22+border%3D%220%22%3E%3C%2Fa%3E%0D%0A%3C%2Ftd%3E%0D%0A%3C% 
2Ftr%3E%0D%0A%3C%2Ftable
    
%3E&use_custom_font=0&font=Verdana&custom_font=&tmpl_group_id=4&color_id

=25&novice_mode=1&is_sea
    
rchable=1&allow_comments=1&popup_size=500x600&order_comments_chronologic 
ally=1&timezone=US+%26+C
   anada+Pacific%3B+Tijuana&default_entry_text=
###exit

-- Kenny


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message