Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ColdFire causing Firefox error #6

Open
rbarthle17 opened this issue May 2, 2012 · 2 comments
Open

ColdFire causing Firefox error #6

rbarthle17 opened this issue May 2, 2012 · 2 comments

Comments

@rbarthle17
Copy link

Using the latest ColdFire on Firefox 11.0, if a page has even a medium amount of data in it with CF Admin routing debugging through COldFire, Firefox will throw a "The connection to the server was reset while the page was loading" error. Turning off request level debugging, or switching it to cassic.cfm or dockable.cfm fixes this, so it's something with ColdFire it seems.

OS X Lion 10.7.3
MAMP Pro
CF 9.0.1

@nmische
Copy link
Owner

nmische commented Sep 16, 2012

Is there any update on this issue? Unfortunately I don't use MAMP so I can't test this.

That said, I know some servers have size limits on HTTP headers. Maybe this is the case with something in the MAMP stack?

@wfisk
Copy link

wfisk commented Mar 6, 2013

You need to increase the size limits for the HTTP headers. For the development version of ColdFusion10 using the Tomcat server goto the file ColdFusion10/cfusion/runtime/conf/server.xml. About line 83 you should see something like

<Connector executor="tomcatThreadPool" maxThreads="50" maxHttpHeaderSize="32768" maxHeaderCount="200"
port="8500" protocol="org.apache.coyote.http11.Http11Protocol"
connectionTimeout="20000"
redirectPort="8445" />

You need to add the attributes maxHttpHeaderSize, maxHeaderCount.
The default values are 8192 bytes for maxHttppHeaderSize and 100 for maxHeaderCount.
I increased mine to 32768 and 200 respectively. The maximum value for maxHttpHeaderSize is 65536.
You need to restart the ColdFusion server after changing these values.

Here is my amended Connector setting:

<Connector executor="tomcatThreadPool" maxThreads="50" maxHttpHeaderSize="32768" maxHeaderCount="200"
port="8500" protocol="org.apache.coyote.http11.Http11Protocol"
connectionTimeout="20000"
redirectPort="8445" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants