http.request warnings

i’ve noticed that whenever there’s an http.request call a warning appears on the console:

Warning: Libinfo call to mDNSResponder on main thread

which is followed by
Info: dnssd_clientstub write_all(8) DEFUNCT
Warning: dnssd_clientstub deliver_request ERROR: write_all(8, 55 bytes) failed

does anyone know what these warnings are?

thank you [import]uid: 6459 topic_id: 2210 reply_id: 302210[/import]

+1 for experiencing this. What’s it all about? [import]uid: 4621 topic_id: 2210 reply_id: 6688[/import]

Can you post some code that I can look at.

Carlos
[import]uid: 24 topic_id: 2210 reply_id: 6693[/import]

Build the simplest app you can with an http.request and watch the console in xCode when you open the app with your phone plugged into the machine.

[lua]socket = require(“socket”)
http = require(“socket.http”)

myVar = http.request(“http://www.google.com”)[/lua] [import]uid: 4621 topic_id: 2210 reply_id: 6700[/import]

first i thought it was my code that was wrong, then i tested the code i found on Ansca’s site

all http.request calls result in Warning: Libinfo call to mDNSResponder on main thread
try for example the code for image downloading http://developer.anscamobile.com/content/network

not all http.request calls result in
Info: dnssd_clientstub write_all(8) DEFUNCT
Warning: dnssd_clientstub deliver_request ERROR: write_all(8, 55 bytes) failed
to see those, try the code for downloading a file http://developer.anscamobile.com/code/show-native-activity-indicator-while-connecting-and-downloading
[import]uid: 6459 topic_id: 2210 reply_id: 6706[/import]