Re: Local webdav server freezes system
Re: Local webdav server freezes system
- Subject: Re: Local webdav server freezes system
- From: Quinn <email@hidden>
- Date: Wed, 15 Nov 2006 15:46:49 +0000
At 14:50 +0100 15/11/06, Kaspar Mösinger wrote:
I'm writing a webdav-server with cocoa. When I
connect with a remote computer to my server
(using the Finder webdav-client), everything
works as fine. But when I try to connect to my
server on the same machine, it hangs completely.
I don't access the filesystem in my server. Any
hints?
It's very easy to deadlock in this sort of
situation. What frameworks do you link your
server with? If you link with GUI frameworks,
you are likely to get into trouble. Even if you
restrict yourself to the CoreServices layer, you
can still run into deadlocks as the File Manager
processes volume mount notifications. If you use
runloop-based technologies to serve network
requests (for example, you're using CFSocket to
do your networking), it's a good idea to create a
separate thread and do your networking there.
S+E
--
Quinn "The Eskimo!" <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden