[Gambas-user] Issue 380 in gambas: RpcClient sends invalid HTTP requests (and RpcServer stops working)
gambas at ...2524...
gambas at ...2524...
Sat Jan 12 21:45:00 CET 2013
Comment #10 on issue 380 by uAle... at ...626...: RpcClient sends invalid HTTP
requests (and RpcServer stops working)
http://code.google.com/p/gambas/issues/detail?id=380
@Benoit:
I modified the "gb.xml/src/rpc/gb.xml.rpc/.src/miniServer.class" and is
attached.
It does a few things now:
1 - It waits maximum of 1 seconds for all TCP/IP packets are received, if
the content-length is received earlier - it continues directly
2 - Modified the Print lines into 1 line, this will put all the information
into 1 TCP/IP packet. This reduces the overhead and the RpcClient likes it
much more now
Can you include this in the SVN? This will make the RpcClient & RpcServer i
am using finally functional in gambas3 (it worked fine in gambas2 - because
of version 2.x put all in 1 TCP/IP packet)
Attachments:
miniServer.class 8.5 KB
More information about the User
mailing list