Skip to content

Commit

Permalink
Tweaks to ensure proxyType is correctly reused in HEAD requests and c…
Browse files Browse the repository at this point in the history
…opies, and released in dealloc
  • Loading branch information
pokeb committed Jun 30, 2010
1 parent 4535486 commit 5ed451b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/ASIHTTPRequest.m
Expand Up @@ -24,7 +24,7 @@

// Automatically set on build

NSString *ASIHTTPRequestVersion = @"v1.7-5 2010-06-30";
NSString *ASIHTTPRequestVersion = @"v1.7-6 2010-06-30";

NSString* const NetworkRequestErrorDomain = @"ASIHTTPRequestErrorDomain";

Expand Down Expand Up @@ -327,6 +327,7 @@ - (void)dealloc
[authenticationScheme release];
[requestCredentials release];
[proxyHost release];
[proxyType release];
[proxyUsername release];
[proxyPassword release];
[proxyDomain release];
Expand Down Expand Up @@ -1313,6 +1314,7 @@ - (ASIHTTPRequest *)HEADRequest
[headRequest setProxyDomain:[self proxyDomain]];
[headRequest setProxyHost:[self proxyHost]];
[headRequest setProxyPort:[self proxyPort]];
[headRequest setProxyType:[self proxyType]];
[headRequest setShouldPresentAuthenticationDialog:[self shouldPresentAuthenticationDialog]];
[headRequest setShouldPresentProxyAuthenticationDialog:[self shouldPresentProxyAuthenticationDialog]];
[headRequest setTimeOutSeconds:[self timeOutSeconds]];
Expand Down Expand Up @@ -2955,6 +2957,7 @@ - (id)copyWithZone:(NSZone *)zone
[newRequest setProxyDomain:[self proxyDomain]];
[newRequest setProxyHost:[self proxyHost]];
[newRequest setProxyPort:[self proxyPort]];
[newRequest setProxyType:[self proxyType]];
[newRequest setUploadProgressDelegate:[self uploadProgressDelegate]];
[newRequest setDownloadProgressDelegate:[self downloadProgressDelegate]];
[newRequest setShouldPresentAuthenticationDialog:[self shouldPresentAuthenticationDialog]];
Expand Down

0 comments on commit 5ed451b

Please sign in to comment.