[Gambas-user] Issue 552 in gambas: httpclient in async mode timeout not working

gambas at ...2524... gambas at ...2524...
Tue Aug 26 11:28:21 CEST 2014


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 552 by r... at ...1740...: httpclient in async mode timeout not  
working
https://code.google.com/p/gambas/issues/detail?id=552

1) Describe the problem.
Using httpclient to connect to a non-existing or down url in async mode, it  
never quits, or at least the TimeOut is ignored not working.
If you try to close it (because of program close) the handle stays active  
with status 6 (connecting)

2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.

[System]
Gambas=3.5.4
OperatingSystem=Linux
Kernel=3.13.0-34-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=7953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

3) Provide a little project that reproduces the bug or the crash.
Attached.

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.
Start example project, make sure ip is not reachable, notice it doesn't  
stop or give error after timeout of 3 seconds. Also while closing the  
window, and calling hInit.Stop doesn't stop httpclient request (status 6)

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!

ANOTHER NOTE: Don't create an issue if you have a compilation problem on
the development version. Send a mail to the mailing-list instead, thanks.


Attachments:
	HttpClose-0.0.1.tar.gz  5.0 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