[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #26107] [NSURLConnection sendSynchronousRequest:returningResponse:e
From: |
Doug Simons |
Subject: |
[bug #26107] [NSURLConnection sendSynchronousRequest:returningResponse:error:] is broken |
Date: |
Tue, 07 Apr 2009 15:51:54 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 |
URL:
<http://savannah.gnu.org/bugs/?26107>
Summary: [NSURLConnection
sendSynchronousRequest:returningResponse:error:] is broken
Project: GNUstep
Submitted by: theeggcamefirst
Submitted on: Tue 07 Apr 2009 03:51:52 PM GMT
Category: Base/Foundation
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It appears that this method will simply throw an exception every time. Here
is my gdb log:
Breakpoint 6, +[NSURLConnection(NSURLConnectionSynchronousLoading)
sendSynchronousRequest:returningResponse:error:] (self=0xb7b179a0,
_cmd=0x81c45b0, request=0x8f68020, response=0xbfcb064c, error=0xbfcb0648)
at NSURLConnection.m:292
292 NSData *data = nil;
(gdb) n
294 if ([self canHandleRequest: request] == YES)
(gdb) s
+[NSURLConnection canHandleRequest:] (self=0xb7b179a0, _cmd=0xb7b17bf8,
request=0x8f68020)
at NSURLConnection.m:178
178 return [NSURLProtocol canInitWithRequest: request];
(gdb) s
+[NSURLProtocol(Subclassing) canInitWithRequest:] (self=0xb7b1b420,
_cmd=0xb7b17b90, request=0x8f68020)
at NSURLProtocol.m:476
476 [self subclassResponsibility: _cmd];
(gdb) s
-[NSObject(GSCategories) subclassResponsibility:] (self=0xb7b1b420,
_cmd=0xb7b1b708, aSel=0xb7b17b90)
at GSCategories.m:1078
1078 [NSException raise: NSInvalidArgumentException
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26107>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #26107] [NSURLConnection sendSynchronousRequest:returningResponse:error:] is broken,
Doug Simons <=