Branch: Tag:

2011-03-06

2011-03-06 14:48:54 by Martin Stjernholm <mast@lysator.liu.se>

Small code cleanup.

Rev: server/protocols/http.pike:1.638

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2009, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.637 2011/02/09 08:21:57 marty Exp $"; + constant cvs_version = "$Id: http.pike,v 1.638 2011/03/06 14:48:54 mast Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
1122:    leftovers = data;    data = "";    } -  if (sizeof(data)) { -  switch(method) { -  case "POST": +  if (sizeof(data) && method == "POST") {    // FIXME: Get this POST variable munching out of the backend thread!       // See http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4
1292:    break;    }    } -  break; +     } -  } +     TIMER_END(parse_got_2_more_data);       if (!(< "HTTP/1.0", "HTTP/0.9" >)[prot]) {