116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
OFHTTPRequest *request;
OFData *data;
cond = [OFCondition condition];
[cond lock];
server = [[[HTTPClientTestsServer alloc] init] autorelease];
[server start];
[cond wait];
[cond unlock];
URL = [OFURL URLWithString:
[OFString stringWithFormat: @"http://127.0.0.1:%" @PRIu16 "/foo",
|
>
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
OFHTTPRequest *request;
OFData *data;
cond = [OFCondition condition];
[cond lock];
server = [[[HTTPClientTestsServer alloc] init] autorelease];
server.supportsSockets = true;
[server start];
[cond wait];
[cond unlock];
URL = [OFURL URLWithString:
[OFString stringWithFormat: @"http://127.0.0.1:%" @PRIu16 "/foo",
|