• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: POST with file and bytes written
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >POST with file and bytes written (From: Fielke Gary <email@hidden>)
 >Re: POST with file and bytes written (From: Frederick Cheung <email@hidden>)

  • Prev by Date: Re: CFSocket freezes
  • Next by Date: Re: CocoaHTTPServer and missing Content-Length headers
  • Previous by thread: Re: POST with file and bytes written
  • Next by thread: CocoaHTTPServer and missing Content-Length headers
  • Index(es):
    • Date
    • Thread