Branch: Tag:

1997-02-07

1997-02-07 23:33:21 by Per Hedbor <ph@opera.com>

Fixes (pike .2 - .4)

Rev: server/base_server/db.pike:1.3
Rev: server/base_server/persistent.pike:1.4
Rev: server/etc/roxen_master.pike:1.19
Rev: server/modules/graphics/graphic_text.pike:1.25
Rev: server/protocols/http.pike:1.17

1:   // This is a roxen module. (c) Informationsv√§varna AB 1996.       - string cvs_version = "$Id: http.pike,v 1.16 1997/01/29 07:42:38 per Exp $"; + string cvs_version = "$Id: http.pike,v 1.17 1997/02/07 23:33:21 per Exp $";   // HTTP protocol module.   #include <config.h>   inherit "roxenlib";
640:    internal_error(err);    }    +  my_fd->set_read_callback(0); +  my_fd->set_close_callback(0);    if(!mappingp(file))    {    if(method != "GET" && method != "HEAD" && method != "POST")
654:    } else {    if((file->file == -1) || file->leave_me)    { -  if(!file->stay) disconnect(); + // perror("Leave me...\n"); + // if(!file->stay) { destruct(thiso); } +  my_fd = file = 0;    return;    }   
748:    head_string = (myheads+({"",""}))*"\r\n";       if(conf)conf->hsent+=strlen(head_string||""); -  my_fd->set_read_callback(0); -  my_fd->set_close_callback(0); +        if(method=="HEAD")    {