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-gnustep mailing list
Bug-gnustep@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to