<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -45,13 +45,14 @@ static NSError *ASIUnableToCreateRequestError;
 
 + (void)initialize
 {
-	progressLock = [[NSRecursiveLock alloc] init];
-	
-	ASIRequestTimedOutError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIRequestTimedOutErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;The request timed out&quot;,NSLocalizedDescriptionKey,nil]] retain];	
-	ASIAuthenticationError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIAuthenticationErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;Authentication needed&quot;,NSLocalizedDescriptionKey,nil]] retain];
-	ASIRequestCancelledError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIRequestCancelledErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;The request was cancelled&quot;,NSLocalizedDescriptionKey,nil]] retain];
-	ASIUnableToCreateRequestError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIUnableToCreateRequestErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;Unable to create request (bad url?)&quot;,NSLocalizedDescriptionKey,nil]] retain];
-	
+	if (self == [ASIHTTPRequest class]) {
+		progressLock = [[NSRecursiveLock alloc] init];
+		ASIRequestTimedOutError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIRequestTimedOutErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;The request timed out&quot;,NSLocalizedDescriptionKey,nil]] retain];	
+		ASIAuthenticationError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIAuthenticationErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;Authentication needed&quot;,NSLocalizedDescriptionKey,nil]] retain];
+		ASIRequestCancelledError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIRequestCancelledErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;The request was cancelled&quot;,NSLocalizedDescriptionKey,nil]] retain];
+		ASIUnableToCreateRequestError = [[NSError errorWithDomain:NetworkRequestErrorDomain code:ASIUnableToCreateRequestErrorType userInfo:[NSDictionary dictionaryWithObjectsAndKeys:@&quot;Unable to create request (bad url?)&quot;,NSLocalizedDescriptionKey,nil]] retain];
+	}
+	[super initialize];
 }
 
 - (id)initWithURL:(NSURL *)newURL</diff>
      <filename>ASIHTTPRequest.m</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e640386a2464156c1ee01551f318c5e27e9698d7</id>
    </parent>
  </parents>
  <author>
    <name>Ben Copsey</name>
    <email>ben@allseeing-i.com</email>
  </author>
  <url>http://github.com/pokeb/asi-http-request/commit/7e2b9e6693c8b34e39ecd0bb58a3a5214972dc98</url>
  <id>7e2b9e6693c8b34e39ecd0bb58a3a5214972dc98</id>
  <committed-date>2009-01-05T14:49:12-08:00</committed-date>
  <authored-date>2009-01-05T14:49:12-08:00</authored-date>
  <message>Stop ASIHTTPRequest subclasses from recreating statics on initialize and leaking in the process
Thanks to Ren&#233; Post for this fix!</message>
  <tree>766afee8f5df267b3876dd24e203ef68f131d957</tree>
  <committer>
    <name>Ben Copsey</name>
    <email>ben@allseeing-i.com</email>
  </committer>
</commit>
