Reputation: 28860
I am getting an error when performing a put from the client to this service. I am using the jetty server.
The error I am getting is:
oejs.AbstractHttpConnection:header full: java.lang.RuntimeException: Header>6144
This error only happens when I am running against the jar with this command:
java $JVM_OPTS -cp target/web-game-of-life.jar clojure.main -m game-of-life.core
If I run
lein ring server
Then all is good.
The payload I am sending is large and if I try with a smaller payload then all is good.
How can set the configuration to increase the header size?
Upvotes: 1
Views: 274
Reputation: 18347
Are you usign liberator
? I had a similar problem because I had liberator request tracing enabled, which would include alot of HTTP headers for tracing the request.
Here's the relevant link: http://clojure-liberator.github.io/liberator/doc/debugging.html
Upvotes: 2