• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Local webdav server freezes system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • [solved] Re: Local webdav server freezes system
      • From: Kaspar Mösinger <email@hidden>
References: 
 >Local webdav server freezes system (From: Kaspar Mösinger <email@hidden>)

  • Prev by Date: Local webdav server freezes system
  • Next by Date: Re: Kernel Locks
  • Previous by thread: Local webdav server freezes system
  • Next by thread: [solved] Re: Local webdav server freezes system
  • Index(es):
    • Date
    • Thread