[Gambas-user] Issue 449 in gambas: RpcServer sends a not complete valid request, it sends "\n", it should send "\r\n".
gambas at ...2524...
gambas at ...2524...
Wed Jul 3 20:14:41 CEST 2013
Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any
Desktop-Any GUI-Any
New issue 449 by uAle... at ...626...: RpcServer sends a not complete valid
request, it sends "\n", it should send "\r\n".
http://code.google.com/p/gambas/issues/detail?id=449
1) Describe the problem.
The RpcServer responds with a not completely valid request, but this works
on most XmlClients.
The output contains only "\n" and this should be "\r\n"
The request looks now:
HTTP/1.1 200 OK\nConnection: close\nContent-Length: 5411\n ...
This should be:
HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Length: 5411\r\n ...
2) GIVE THE FOLLOWING INFORMATIONS (if they are appropriate):
Version: TRUNK
Revision: r5705 (if you use a development version)
Operating system: Linux
Distribution: Ubuntu
Architecture: x86_64
GUI component: QT4
Desktop used: Gnome
3) Provide a little project that reproduces the bug or the crash.
Attached is the fixed "miniServer.class", to be placed
in "gb.xml/src/rpc/gb.xml.rpc/.src". The fix changes the print
to "gb.Windows" to send a "\r\n" and i replaced the "\n" in the XmlString
to "\r\n"
Also the before the fix, you notice in the response only "\n" and after the
fix you see "\r\n"
4) If your project needs a database, try to provide it, or part of it.
5) Explain clearly how to reproduce the bug or the crash.
6) By doing that carefully, you have done 50% of the bug fix job!
IMPORTANT NOTE: if you encounter several different problems or bugs, (for
example, a bug in your project, and an interpreter crash while debugging
it), please create distinct issues!
Attachments:
miniServer.class 8.3 KB
miniserver-before.eth 6.5 KB
miniserver-fixed.eth 13.7 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
More information about the User
mailing list