2000-08-28
2000-08-28 12:09:12 by Per Hedbor <ph@opera.com>
-
24625e7171b8bfecfad02a08bee5c5d5c3271834
(13 lines)
(+7/-6)
[
Show
| Annotate
]
Branch: 5.2
Use the refs variable already there..
Rev: server/base_server/roxen.pike:1.537
4:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.
// ABS and suicide systems contributed freely by Francesco Chemolli
- constant cvs_version="$Id: roxen.pike,v 1.536 2000/08/28 05:31:50 per Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.537 2000/08/28 12:09:12 per Exp $";
// Used when running threaded to find out which thread is the backend thread,
// for debug purposes only.
650:
else if (path != (data->path || "")) path = 0;
refs++;
urls[name] = data;
- sorted_urls = Array.sort_array(indices(urls), lambda(string a, string b) {
+ sorted_urls = Array.sort_array(indices(urls),
+ lambda(string a, string b) {
return sizeof(a)<sizeof(b);
});
}
677:
if( q )
{
object c;
- if( sizeof( urls ) == 1 )
+ if( refs < 2 )
{
if(!mu)
{
1079: Inside #if constant(HTTPLoop.prog)
o->cmf = 100*1024;
o->cmp = 100*1024;
- // werror("%O\n", o->variables);
+
if(o->method == "POST" && strlen(o->data))
{
mapping variabels = ([]);