243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
transport.isOpen = 0;
}
}
/*
** Send content over the wire.
*/
void transport_send(UrlData *pUrlData, Blob *toSend){
char *z = blob_buffer(toSend);
int n = blob_size(toSend);
transport.nSent += n;
if( pUrlData->isSsh ){
fwrite(z, 1, n, sshOut);
fflush(sshOut);
}else if( pUrlData->isHttps ){
|
|
|
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
|
transport.isOpen = 0;
}
}
/*
** Send content over the wire.
*/
void transport_send(UrlData const *pUrlData, const Blob *toSend){
char *z = blob_buffer(toSend);
int n = blob_size(toSend);
transport.nSent += n;
if( pUrlData->isSsh ){
fwrite(z, 1, n, sshOut);
fflush(sshOut);
}else if( pUrlData->isHttps ){
|