Changes between and of Initial VersionVersion 1Ticket #4229


Ignore:
Timestamp:
01/20/2010 12:22:15 PM (5 years ago)
Author:
thijs
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4229

    • Property Cc thijs added
  • Ticket #4229 – Description

    initial v1  
    11When a URL longer then 16K chars is requested to a twisted.web server the server drops the connection. 
    22 
    3 The reason for this is that the twisted.web server uses protocols.basic.LineReceiver for handling the request and header sections. If the LineReceiver receives a line longer than 16K it simply drops the connection. 
     3The reason for this is that the twisted.web server uses {{{protocols.basic.LineReceiver}}} for handling the request and header sections. If the !LineReceiver receives a line longer than 16K it simply drops the connection. 
    44 
    55While there should probably be max length of the url in the web server, it would be nice to have it properly configurable. Furthermore the server should reply with 414 REQUEST_URI_TOO_LONG if the url is too long. 
    66 
    7 Our temporary fix have been to raise the MAXLENGTH value in the LineReceiver. 
     7Our temporary fix have been to raise the MAXLENGTH value in the !LineReceiver. 
    88 
    99And yes, this is a real problem :-). We query a server for several hundred different states, where interesting states are embedded in the URL.