Re: How to find uploaded data size from content-length



In article <20060419144430.442$mT@xxxxxxxxxxxxxx>, xhoster@xxxxxxxxx
says...
I have no idea why you think you need to do this.....


Because when CONTENT_LENGTH has been informed by server itself after
receiving of entire POST, I can effectively read STDIN, extract uploaded
data and do the substraction.

But, when CONTENT_LENGTH comes from original request, how to proceed ?

Say, I wish to avoid any upload (I mean write on server, since data may
already be in STDIN) above 1MB, how to proceed ?
.



Relevant Pages

  • Re: How to find uploaded data size from content-length
    ... from real data received in STDIN ... The server isn't receiving data from stdin, it's receiving it from a net- ...
    (comp.lang.perl.misc)
  • Re: Start a program and get a hold of its STDOUT and STDIN?
    ... My goal is to start the program from my program and get both it's STDOUT/ERR and STDIN, that way my program can see live Output as it comes in from the server and also respond to certain events (the server accepts console commands when it is normally run in the foreground, so it can be fully interactive, accepting command via STDIN normally. ... Further mode, I need this to be in real time ...
    (comp.lang.perl.misc)
  • Re: Check Pop3 or IMAP4
    ... I read somewhere that telnet does not support stdin and stdout. ... to send commands to the port 110. ... This works only if the server doesn't require the encoding of the password, ...
    (microsoft.public.scripting.vbscript)
  • Re: How does inetd work?
    ... where does it forward the requests from a client to? ... It's not stdin.. ... inetd listen to some given port. ... When a connection happens, inetd forks the server. ...
    (Debian-User)
  • Re: How does inetd work?
    ... It's not stdin.. ... inetd listen to some given port. ... When a connection happens, inetd forks the server. ... Closes the socket. ...
    (Debian-User)