Has anyone on the aolserver core team taken a look at libcurl? http://curl.haxx.se
They claim to be thread safe... There is a TCL wrapper at http://personal1.iddeo.es/andresgarci/tclcurl/english/ Doubtless this is old news to many, but it seems like it has so much to offer :) <jab> The TCL native and Aolserver HTTP implementations just seem to be far behind what this has and all my PHP buddies get to use it as a builtin :-) </jab> Alfred On Fri, 28 Mar 2003, Alexander Leyke wrote: > Hello, > > Tcl command "ns_http queue $method $url" causes access violation in > Aolserver 4.0 beta 4 - note missing headers parameter in the command. > The access violation is due to variable hdrs left uninitialized in the > following block of code > > line 126: > case HQueueIdx: > if (objc < 4 || objc > 6) { > Tcl_WrongNumArgs(interp, 2, objv, "method url ?body? > ?headers?"); > return TCL_ERROR; > } > > method = Tcl_GetString(objv[2]); > url = Tcl_GetString(objv[3]); > > if (objc > 4) { > body = Tcl_GetString(objv[4]); > > if (objc > 5) { > if (Ns_TclGetSet2(interp, Tcl_GetString(objv[5]), &hdrs) > != TCL_OK) { > return TCL_ERROR; > } > } > else { > hdrs = NULL; > } > } > else { > body = NULL; > } > > Last else block needs "hdrs=NULL;" statement. > > > -- > AOLserver - http://www.aolserver.com/ > To Remove yourself from this list: http://www.aolserver.com/listserv.html > List information and options: http://listserv.aol.com/ > -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list: http://www.aolserver.com/listserv.html List information and options: http://listserv.aol.com/