Re: POST with file and bytes written
Re: POST with file and bytes written
- Subject: Re: POST with file and bytes written
- From: Becky Willrich <email@hidden>
- Date: Mon, 28 Nov 2005 10:32:48 -0800
You can look at the source for CFNetwork: http://darwinsource.opendarwin.org/10.4.2/CFNetwork-128.2/HTTP/CFHTTPStream.c
You can see that kCFStreamPropertyHTTPRequestBytesWrittenCount just
returns the variable requestBytesWritten, which is incremented with
the result of CFWriteStreamWrite.
Scanning over the cfstream coding, it looks like any buffering that
is happening is at the level of the kernel's buffers.
This is correct - CFNetwork is reporting the number of bytes that have
been sent to the kernel; it is not tracking the bytes as they are
transmitted out of the kernel buffers.
REW
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden