GithubHelp home page GithubHelp logo

ColdFire causing Firefox error about coldfire HOT 2 OPEN

nmische avatar nmische commented on August 24, 2024
ColdFire causing Firefox error

from coldfire.

Comments (2)

nmische avatar nmische commented on August 24, 2024

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?

from coldfire.

wfisk avatar wfisk commented on August 24, 2024

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" />

from coldfire.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.