Comments (8)
Hi @peenuty !
Thanks for pointing this out. socket.io doesn't handle query strings very well. The problem about your approach is, that an IOConnection can be multiplexed. That means, different SocketIO instances can use the same IOConnection. If you send different query strings over a multiplexed connection, only the first one gets sent to the server.
Actually, this buggy approach is the way it is done in @LearnBoost socket.io implementation. So, I consider following this. But I suspect that this leads to nasty bugs.
Enno
PS: There's a bugreport for this issue with an apt title: socketio/socket.io-client#331
from socket.io-java-client.
The issue is still open, but it's a protocol issue, not a socket.io-java-client specific one. I'm hoping for protocol revision 1.0 to fix this issue.
For now, query strings are not supported by socket.io-java-client.
from socket.io-java-client.
socket.io support connect with querystring since 0.9.6, socketio/socket.io-client#467
Could you please fix the java client?
from socket.io-java-client.
This would be really nice. Other than this single feature everything is working great with this client.
from socket.io-java-client.
any news?
from socket.io-java-client.
I have pushed the query string integration in my fork but I cannot send pull-request.
I will ping @Gottox soon
here is my commit: fatshotty@bf08624#commitcomment-3446681
from socket.io-java-client.
version 0.2.1 has been deployed on maven repo.
It contains all changes and also this issue fixed
from socket.io-java-client.
Hello fatshotty,
great that your fork has the maven dependency and querystrings support. Because maven would be way easier for me to implement. A quick question: Does your fork 0.2.1 include everything thats on Gottox/socket.io-java-client?
from socket.io-java-client.
Related Issues (20)
- Problem with Garbage collector HOT 1
- Reconnect mechanism HOT 1
- No ACK timeout / Possible memory leak?
- Device heat up HOT 1
- Why you using separate thread for user socket.io in example Chat.java? HOT 2
- How to fix this : io.socket.SocketIOException: 1+0 HOT 2
- Maven?
- Can't get emit respond HOT 1
- my android device doesn't reconnect itself after server restart
- Android Lollipop Support
- Can't disable heartbeat
- server.js
- Chat program handshake exception HOT 4
- Socket instantiation problem (Even i added socketio.jar ) HOT 2
- Issue in running the project HOT 2
- Configure path to the resource
- Windows 10 not working
- problem with https
- socket.io FileNotFoundException HOT 4
- Null pointer exception when emmiting to socket
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socket.io-java-client.