291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
|
return http_exchange(pSend, pReply, useLogin, maxRedirect);
}else{
fossil_warning("HTTP Basic Authorization failed.");
if( g.zHttpAuth ){
free(g.zHttpAuth);
g.zHttpAuth = 0;
}
transport_close(GLOBAL_URL());
return http_exchange(pSend, pReply, useLogin, maxRedirect);
}
}
if( rc!=200 && rc!=302 ){
int ii;
for(ii=7; zLine[ii] && zLine[ii]!=' '; ii++){}
while( zLine[ii]==' ' ) ii++;
|
<
|
291
292
293
294
295
296
297
298
299
300
301
302
303
304
|
return http_exchange(pSend, pReply, useLogin, maxRedirect);
}else{
fossil_warning("HTTP Basic Authorization failed.");
if( g.zHttpAuth ){
free(g.zHttpAuth);
g.zHttpAuth = 0;
}
return http_exchange(pSend, pReply, useLogin, maxRedirect);
}
}
if( rc!=200 && rc!=302 ){
int ii;
for(ii=7; zLine[ii] && zLine[ii]!=' '; ii++){}
while( zLine[ii]==' ' ) ii++;
|