SmartFoxServer: 2.15.0
Client: SmartFoxServer 2X HTML5/JavaScript API v1.7.13
When we sent a extension request with ByteArray size is 1000, request work fine via http. if ByteArray size is 10000, it doesn't work via http.
We try to increase maxIncomingRequestSize in core.xml and add apache-tomcat Connector arrtribute maxPostSiz -1, that does't take effect.
How to modify request body size ??
How to modify limitRequestBody size via http, SmartFoxServer version is 2.15.0
Re: How to modify limitRequestBody size via http, SmartFoxServer version is 2.15.0
Hi,
when you say it doesn't work what kind of error are you getting? Is it client side? Or server side?
Can you give us the details?
Thanks
when you say it doesn't work what kind of error are you getting? Is it client side? Or server side?
Can you give us the details?
Thanks
Re: How to modify limitRequestBody size via http, SmartFoxServer version is 2.15.0
UPDATE: we have tested the scenario you have described by sending a large binary packet via Websocket and found a similar problem at around 8K. It seems that Tomcat's default buffer size is indeed 8K so it will fail to send or receive larger packets.
Since we're going to release a new update very shortly we will include the fix in the new release, version 2.16.0
I will post a message when the update goes live. It should be either tomorrow or next Monday.
Hope it helps
Since we're going to release a new update very shortly we will include the fix in the new release, version 2.16.0
I will post a message when the update goes live. It should be either tomorrow or next Monday.
Hope it helps
Re: How to modify limitRequestBody size via http, SmartFoxServer version is 2.15.0
Lapo wrote:UPDATE: we have tested the scenario you have described by sending a large binary packet via Websocket and found a similar problem at around 8K. It seems that Tomcat's default buffer size is indeed 8K so it will fail to send or receive larger packets.
Since we're going to release a new update very shortly we will include the fix in the new release, version 2.16.0
I will post a message when the update goes live. It should be either tomorrow or next Monday.
Hope it helps
thanks, Lapo
Who is online
Users browsing this forum: No registered users and 42 guests