RE: [users@httpd] only one ip per user (has many connections) can access resource at the same time ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: tvlgiao [mailto:tvlgiao@xxxxxxxxx] 
> Sent: Montag, 6. Februar 2006 14:20
> To: users@xxxxxxxxxxxxxxxx
> Subject: Re: [users@httpd] only one ip per user (has many 
> connections) can access resource at the same time ?
> 
> 
> oh, i mean that  while a file is "transferring", the 
> connection is also "opening", isn't it ? with a large file, 
> the connection probably opens longer than small files 
> (sometimes we don't realize). the connection will be closed 
> when a file finished or user close web browser. 

It's not a connection. It's a series of data-packets sent using TCP/IP.
The large file is chopped into many packets that are sent by (possibly)
various routes and may arrive out-of-order or may need to be re-sent (if
some get lost).

The best you can hope for is "while the server is serving the request".
You could set a flag when the request is received and clear it when the
log is written (the log is only written at the end of the request).

> 
> writing server-side script i can check authentication, but 
> can not check whether user is downloading or not at that 
> moment. i thinks only web server can check that state.

a module may be able to hook into the state variables you'd need to
check to see this but it would not be trivial - you'd be into semaphores
and stuff like that...

> 
> 
> 
> 
> 	Rgds,
> 	Owen Boyle
> 	Disclaimer: Any disclaimer attached to this message may 
> be ignored.
> 
> 
> anyway thanks for your reply.
> 
> cheers,
> tvlgiao 
> 
>
 
 
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please notify the sender urgently and then immediately delete the message and any copies of it from your system. Please also immediately destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. The sender's company reserves the right to monitor all e-mail communications through their networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux