eclipse-paho / eclipse-paho/paho.mqtt.java
IOException When Websocket Frame opcode == 0
Open
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 919
- PR merge metrics
- No merged PRs in 30d
Description
Bug exists Release Version 1.2.5 ( Master Branch)
public WebSocketFrame(InputStream input) throws IOException {
.....
throw new IOException("Invalid Frame: Opcode: " + this.opcode);
https://www.rfc-editor.org/rfc/rfc6455#section-5.2 SDK should support opcode 0
Contributor guide
Research direction
Start in the public WebSocketFrame(InputStream) constructor shown in the issue and compare opcode 0 handling with RFC 6455 §5.2. Reproduce the failure on release 1.2.5 or current master, then verify that a frame with opcode 0 no longer raises the reported IOException.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100