Index: openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl,v diff -u -r1.68.2.17 -r1.68.2.18 --- openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl 13 Apr 2022 09:05:14 -0000 1.68.2.17 +++ openacs-4/packages/xotcl-core/tcl/bgdelivery-procs.tcl 30 May 2023 10:01:46 -0000 1.68.2.18 @@ -37,7 +37,7 @@ ns_log notice "AOLserver is not patched for bgdelivery, NOT loading bgdelivery" ad_proc -public ad_returnfile_background {-client_data status_code mime_type filename} { - Deliver the given file to the requestor in the background. This proc uses the + Deliver the given file to the requester in the background. This proc uses the background delivery thread to send the file in an event-driven manner without blocking a request thread. This is especially important when large files are requested over slow (e.g. dial-ip) connections. @@ -521,7 +521,7 @@ {-content_disposition} status_code mime_type filename} { - Deliver the given file to the requestor in the background. This proc uses the + Deliver the given file to the requester in the background. This proc uses the background delivery thread to send the file in an event-driven manner without blocking a request thread. This is especially important when large files are requested over slow connections. @@ -720,13 +720,13 @@ if {$use_h264} { #:log "MP4 q=[::xo::cc actual_query], h=[ns_set array [ns_conn outputheaders]]" :do -async ::h264Spooler spool -delete $delete -channel $ch -filename $filename \ - -context [list [::xo::cc requestor],[::xo::cc url],$query [ns_conn start]] \ + -context [list [::xo::cc requester],[::xo::cc url],$query [ns_conn start]] \ -query $query \ -client_data $client_data } else { #:log "FILE SPOOL $filename" :do -async ::fileSpooler spool -ranges $ranges -delete $delete -channel $ch -filename $filename \ - -context [list [::xo::cc requestor],[::xo::cc url],$query [ns_conn start]] \ + -context [list [::xo::cc requester],[::xo::cc url],$query [ns_conn start]] \ -client_data $client_data } # @@ -783,7 +783,7 @@ ad_proc -public ad_returnfile_background {{-client_data ""} status_code mime_type filename} { - Deliver the given file to the requestor in the background. When + Deliver the given file to the requester in the background. When using NaviServer with its writer threads, ns_returnfile is perfectly fine since it delivers its contents already in the background.