5.2.23
12/09/2023

[#61] DNS queries are blocking
Summary DNS queries are blocking
Queue gloox
Queue Version 0.9.9.4
Type Bug
State Accepted
Priority 2. Medium
Owners js (at) camaya (dot) net
Requester gloox (at) pureftpd (dot) org
Created 02/29/2008 (5762 days ago)
Due
Updated 10/19/2009 (5164 days ago)
Assigned
Resolved

History
10/19/2009 02:44:04 PM Jakob Schröter Assigned to Jakob Schröter
State ⇒ Accepted
 
02/29/2008 04:22:18 PM gloox (at) pureftpd (dot) org Comment #1
State ⇒ Unconfirmed
Queue ⇒ gloox
Summary ⇒ DNS queries are blocking
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
Gloox is supposed to work in non-blocking mode.

However, ClientBase::connect(false) blocks on DNS queries. It blocks 
as long as the DNS reply hasn't been received.

Using an asynchronous DNS library would fix this.