search for: httpclose

Displaying 3 results from an estimated 3 matches for "httpclose".

Did you mean: http_close
2002 Sep 03
1
Spool files not deleted when "printing = cups"
.../printing/print_cups.c.dist Fri May 3 02:03:31 2002 --- source/printing/print_cups.c Tue Sep 3 11:59:56 2002 *************** *** 662,669 **** --- 662,671 ---- DEBUG(0,("Unable to print file to `%s' - %s\n", PRINTERNAME(snum), ippErrorString(cupsLastError()))); httpClose(http); + if (unlink (pjob->filename) != 0) + DEBUG(0,("Unable to unlink CUPS spool file %s\n", pjob->filename)); return (ret); }
2002 Sep 18
1
unlink data file in cups_job_submit
...cups, we send it over ipp, and I think we should then unlink the data file ourselves. Does this seem right? --- print_cups.c~ Thu May 2 18:03:31 2002 +++ print_cups.c Wed Sep 18 13:17:08 2002 @@ -663,6 +663,9 @@ ippErrorString(cupsLastError()))); httpClose(http); + if (ret == 0) + unlink(pjob->filename); + /* else print_job_end will do it for us */ return (ret); -- Paul
2001 Mar 01
1
Fw: Winamp plug-in; http streaming revisited
...on my system though. It seems that > > when the stream is at the end of a playlist it tends to cause the > streaming > > support to crash at times and not want to start up again. > isOggUrl problem fixed, hopefully solves this problem. > > Also moved httpStopBuffering into httpClose, made minor changes to vorbis.c > to accomodate. > > Commented out this section of code from httpRead: > > // Don't give any data back if we're supposed to be dead > if (pThreadData->killBufferThread) > return 0; > > What if the http stream finishes (end of...