0001-Disable-Bonjour-announcements-since-those-are-too-un.patch 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. From dde84f7d01777cbf82e9f7bcb15960f206ec5a33 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Felix=20Paul=20K=C3=BChne?= <fkuehne@videolan.org>
  3. Date: Fri, 31 May 2013 10:54:44 +0200
  4. Subject: [PATCH] Disable Bonjour announcements since those are too unstable
  5. ---
  6. Core/HTTPServer.m | 4 ++--
  7. 1 file changed, 2 insertions(+), 2 deletions(-)
  8. diff --git a/Core/HTTPServer.m b/Core/HTTPServer.m
  9. index 57384f7..0f227b2 100644
  10. --- a/Core/HTTPServer.m
  11. +++ b/Core/HTTPServer.m
  12. @@ -416,7 +416,7 @@ static const int httpLogLevel = HTTP_LOG_LEVEL_INFO; // | HTTP_LOG_FLAG_TRACE;
  13. HTTPLogInfo(@"%@: Started HTTP server on port %hu", THIS_FILE, [asyncSocket localPort]);
  14. isRunning = YES;
  15. - [self publishBonjour];
  16. +// [self publishBonjour];
  17. }
  18. else
  19. {
  20. @@ -442,7 +442,7 @@ static const int httpLogLevel = HTTP_LOG_LEVEL_INFO; // | HTTP_LOG_FLAG_TRACE;
  21. dispatch_sync(serverQueue, ^{ @autoreleasepool {
  22. // First stop publishing the service via bonjour
  23. - [self unpublishBonjour];
  24. + //[self unpublishBonjour];
  25. // Stop listening / accepting incoming connections
  26. [asyncSocket disconnect];
  27. --
  28. 1.7.12.4 (Apple Git-37)