something)
vishal
Vishal_Jain wrote:
Should we modify the
org.apache.mina.filter.codec.http.HttpResponseDecodingState line 215 from
nextState = null
to
nextState = new ConsumeToCrLfDecodingState(){
@Override
protected DecodingState finishDecode
as a possible buffer/memory
problem (it would then be easy to crash a Mina client). Anyone have an
opinion on this?
Jeff
Vishal_Jain wrote:
Is there a JIRA id for this issue ?
or any workarounds ?
vishal
berdim99 wrote:
Hi.
It seems that AsyncHttpClient fails to decode a web
to put up with silly questions :)
appreciate your patience.
vishal
Trustin Lee wrote:
Hi Vishal,
On Dec 4, 2007 7:02 PM, Vishal_Jain [EMAIL PROTECTED] wrote:
Hi All,
Am having a bit of confusion and appreciate any help from the community.
i want to manage a large number of connectors
Hi All,
Am having a bit of confusion and appreciate any help from the community.
i want to manage a large number of connectors (which would connect to
different web servers). Am experimenting with Mina 2 and use the
AsyncHttpClient like code. Would we benefit in terms of performance/latency
if
Is there a JIRA id for this issue ?
or any workarounds ?
vishal
berdim99 wrote:
Hi.
It seems that AsyncHttpClient fails to decode a web page in which the
web-server doesn't send a content-length header.
What happens is that the callback is called with a null content, after
which the
with good understanding of the code can
fix it better.
vishal
Vishal_Jain wrote:
Is there a JIRA id for this issue ?
or any workarounds ?
vishal
berdim99 wrote:
Hi.
It seems that AsyncHttpClient fails to decode a web page in which the
web-server doesn't send a content-length header
Hi All,
I tried to run the Wget program as is (just hardcoded the url as
http://www.google.com)
and i ended up in:
Exception in thread main java.lang.Exception: java.io.IOException: An
existing connection was forcibly closed by the remote host
Caused by: java.io.IOException: An existing
Realized what was going wrong. I wasn't setting couple of headers explicitly
(such as Host, Accept etc. )
it works fine :)
thanks.
Vishal_Jain wrote:
Hi All,
I tried to run the Wget program as is (just hardcoded the url as
http://www.google.com)
and i ended up in:
Exception in thread
I see the same issue with the latest revision.
It did pass once but got stuck at:
Tests in error:
testConnectFutureSuccessTiming(org.apache.mina.transport.socket.nio.SocketConnectorTest)
The next time i tried clean and install, it just stopped there. :|
is there anything am missing ?
I see the same issue with revision 599747 :|
vishal
parki wrote:
HI Trustin:
Quick update - I just updated (version 597782), did a 'mvn clean' and then
'mvn install' and it hangs on:
---
T E S T S
Hi All,
Am implementing a proxy like system that has 2 connectors (taking on one end
and transferring onto the other).
what i basically do in the MessageReceived routine of connector1 is call the
IoSession.write of connector2 and that in turn invokes the ProtocolDecoder
(yes am using a Protocol
need a queue.
On Nov 12, 2007 11:23 PM, Vishal_Jain [EMAIL PROTECTED] wrote:
Yes i did take a look at the proxy example and what i implemented is also
similar to that.
I have the following understanding of how Mina handles the request,
please
correct me if am wrong.
The execution
they
are useful is when you want to limit the number of connections to the
server from a multi threaded client. This is often to conserve
resources/limit load on the server.
Cheers,
Brad.
Vishal_Jain wrote:
Thanks Trustin !
The server i have at my disposal is within the LAN (same subnet
and do a message exchange
compared to creating and connecting a socket as and when required ?
vishal
Trustin Lee wrote:
On 11/5/07, Vishal_Jain [EMAIL PROTECTED] wrote:
Is there a way this can be implemented with existing features till we
wait
for version 2.0 ?
MINA is nothing
) and send/receive
requests (socket would close after every transaction); my aim is to keep the
system decently scalable with heavy loads (am not sure about how heavy it
could get yet).
- vishal
Trustin Lee wrote:
On 11/6/07, Vishal_Jain [EMAIL PROTECTED] wrote:
Thats right.
I was wondering
/6/07, Vishal_Jain [EMAIL PROTECTED] wrote:
Thanks Trustin !
The server i have at my disposal is within the LAN (same subnet) and the
connection time i have noticed is about 50ms.
My dilemma is to whether accept 50ms as acceptable/reasonable or try
something to further reduce this.
Purpose
Is there a way this can be implemented with existing features till we wait
for version 2.0 ?
vishal
Trustin Lee wrote:
On 10/31/07, liquidchen [EMAIL PROTECTED] wrote:
Hi, does mina Connector provide any function can do like sokcet
connection
pool?? Thanks...
Not yet. It should be
Hi All,
I noticed that when i have data coming into the decoder as chunks at a fast
rate i.e. before the processing for the first chunk has been completed, it
leads to undesirable results. Since, i don't get time to rewind the buffer
and thus the first buffer is lost. (exception from this is a
18 matches
Mail list logo