Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 70083 invoked by uid 500); 15 Feb 2003 20:18:01 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 70066 invoked from network); 15 Feb 2003 20:18:01 -0000 Received: from unknown (HELO smtp.uppercanada.net) (66.46.92.50) by daedalus.apache.org with SMTP; 15 Feb 2003 20:18:01 -0000 Received: from lab715 [66.46.92.12] by smtp.uppercanada.net (SMTPD32-7.00) id AD7B650042; Sat, 15 Feb 2003 15:05:15 -0500 Message-ID: <005b01c2d52f$bbe2d720$0f0a0a0a@lab715> From: "Hongmiao" To: Date: Sat, 15 Feb 2003 15:20:50 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0058_01C2D505.D2E6A980" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: [users@httpd] For Help ------=_NextPart_000_0058_01C2D505.D2E6A980 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, I developed the LSP (Layer Service Provider) on Windows 2000, when = client query big file through Apache server, there is a problems if my = LSP intercept. I check the apache code, apache server uses TransmitFile() function to = transfer big file, and uses WaitForSingleObject(signal object is socket = instead of event) to get signaled. My question is who will signal the = apache server, what is the mechanism of this signaled system. If = WaitForSingleObject() using event as signaled object, my LSP can = signaled the apache server. But if WaitForSingleObject() used socket as = signaled object, someone else can ahead my LSP inform the apache even = the overlapped I/O transferred result is not updated. Couldn't you tell me why apache server used socket as signaled object = for WaitForSingleObject() function instead of event, and who will signal = the overlapped I/O result? What's the mechanism for this signal system. Thanks in advance. Hongmiao Wang ------=_NextPart_000_0058_01C2D505.D2E6A980 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
 
I developed the LSP (Layer Service = Provider) on=20 Windows 2000, when client query big file through Apache server, there is = a=20 problems if my LSP intercept.
 
I check the apache code, apache server = uses=20 TransmitFile() function to transfer big file, and uses=20 WaitForSingleObject(signal object is socket instead of event) to = get=20 signaled. My question is who will signal the apache server, what is = the=20 mechanism of this signaled system. If WaitForSingleObject() using event = as=20 signaled object, my LSP can signaled the apache server. But if=20 WaitForSingleObject() used socket as signaled object, someone else can = ahead my=20 LSP inform the apache even the overlapped I/O transferred result is not=20 updated.
 
Couldn't you tell me why apache server = used socket=20 as signaled object for WaitForSingleObject() function instead of event, = and who=20 will signal the overlapped I/O result? What's the mechanism for this = signal=20 system.
 
Thanks in advance.
 
Hongmiao Wang
 
 
------=_NextPart_000_0058_01C2D505.D2E6A980--