cups source code

Michael R Sweet mike at easysw.com
Tue Jan 24 04:54:04 PST 2006


mffattoum at gmail.com wrote:
> Hello!
> 
> I'm searching for the section of cups code that extracts data to be printed from client (after checking restrictions). Perhaps it is in client.c in ReadClient() function but I can't locate the exact line number or the exact section.
> If any clue thanks.

Look at the first HTTP_POST_RECV case in ReadClient():

         case HTTP_POST_RECV :
            /*
             * See if the POST request includes a Content-Length field, 
and if
             * so check the length against any limits that are set...
             */


-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups mailing list