ObjFW  Check-in [8cf554bd32]

Overview
Comment:gcc is stupid...
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 8cf554bd3237a196aa7ce0b1f03cd6135a0854471ac3334992fa9f7ac54e5a88
User & Date: js on 2012-03-14 15:47:22
Other Links: manifest | tags
Context
2012-03-15
11:29
Greatly improve OFObject's memory handling and performance. check-in: 28170f5f65 user: js tags: trunk
2012-03-14
15:47
gcc is stupid... check-in: 8cf554bd32 user: js tags: trunk
09:03
Update buildsys. check-in: fdff9737f0 user: js tags: trunk
Changes

Modified src/OFHTTPRequest.m from [d6e43a2de8] to [707c786975].

193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
	OFString *line, *path;
	OFMutableDictionary *serverHeaders;
	OFDataArray *data;
	OFEnumerator *keyEnumerator, *objectEnumerator;
	OFString *key, *object, *contentLengthHeader;
	int status;
	const char *type = NULL;
	size_t contentLength;
	BOOL chunked;
	char *buffer;
	size_t bytesReceived;

	if (![scheme isEqual: @"http"] && ![scheme isEqual: @"https"])
		@throw [OFUnsupportedProtocolException exceptionWithClass: isa
								      URL: URL];







|







193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
	OFString *line, *path;
	OFMutableDictionary *serverHeaders;
	OFDataArray *data;
	OFEnumerator *keyEnumerator, *objectEnumerator;
	OFString *key, *object, *contentLengthHeader;
	int status;
	const char *type = NULL;
	size_t contentLength = 0;
	BOOL chunked;
	char *buffer;
	size_t bytesReceived;

	if (![scheme isEqual: @"http"] && ![scheme isEqual: @"https"])
		@throw [OFUnsupportedProtocolException exceptionWithClass: isa
								      URL: URL];