• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscapheguic翻訳omegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン

TextMate is a graphical text editor for OS X 10.7+


Commit MetaInfo

Revisiondc477da1c390e8756c9fbcc523d4425a8c6fd493 (tree)
Time2012-08-23 02:41:02
AuthorAllan Odgaard <git@abet...>
CommiterAllan Odgaard

Log Message

Add a bunch of debug output

Change Summary

Incremental Difference

--- a/Frameworks/network/src/proxy.cc
+++ b/Frameworks/network/src/proxy.cc
@@ -77,6 +77,7 @@ static proxy_settings_t user_pw_settings (std::string const& server, UInt32 port
7777 #if MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_4
7878 static void pac_proxy_callback (void* client, CFArrayRef proxyList, CFErrorRef error)
7979 {
80+ fprintf(stderr, "In callback\n");
8081 proxy_settings_t& settings = *(proxy_settings_t*)client;
8182 settings.enabled = true;
8283
@@ -137,7 +138,13 @@ proxy_settings_t get_proxy_settings (std::string const& url)
137138
138139 CFURLRef pacURL = CFURLCreateWithString(kCFAllocatorDefault, cf::wrap(pacString), NULL);
139140 CFURLRef targetURL = CFURLCreateWithString(kCFAllocatorDefault, cf::wrap(url), NULL);
141+ fprintf(stderr, "PAC URL:\n");
142+ CFShow(pacURL);
143+ fprintf(stderr, "Target URL:\n");
144+ CFShow(targetURL);
145+ fprintf(stderr, "Calling CFNetworkExecuteProxyAutoConfigurationURL\n");
140146 CFRunLoopSourceRef runLoopSource = CFNetworkExecuteProxyAutoConfigurationURL(pacURL, targetURL, &pac_proxy_callback, &context);
147+ fprintf(stderr, "Got back from CFNetworkExecuteProxyAutoConfigurationURL\n");
141148 CFRelease(targetURL);
142149 CFRelease(pacURL);
143150