playframework / playframework/play1
IllegalStateException when sending http to https Socket
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.6k
- Forks
- 671
- Avg merge
- 12d 15h
- Merged PRs (30d)
- 1
Description
Method exceptionCaught in play.server.ssl.SslPlayHandler causes
throw new IllegalStateException("cannot send more responses than requests")
at org.jboss.netty.handler.codec.http.HttpContentEncoder.writeRequested(HttpContentEncoder.java:101)
With the new ssl-tests from #1159. call the 9000 port with http instead of https.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with method exceptionCaught in play.server.ssl.SslPlayHandler and reproduce the failure by sending HTTP to port 9000 instead of HTTPS, using the SSL tests introduced by #1159. Trace the resulting HttpContentEncoder exception and verify that this request no longer causes the IllegalStateException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, networking, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100