/[Frey]/trunk/lib/Frey/Server.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/lib/Frey/Server.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 588 by dpavlin, Fri Nov 28 13:16:47 2008 UTC revision 589 by dpavlin, Fri Nov 28 15:07:32 2008 UTC
# Line 160  sub main { Line 160  sub main {
160                                  warn "## html ",length($html)," bytes";                                  warn "## html ",length($html)," bytes";
161                                  $req->print( $html );                                  $req->print( $html );
162                          } else {                          } else {
163                                  $req->print( qq|<pre class="frey-error">no output from $f</pre>\r\n\r\n| );                                  confess "no output from $f";
164                          }                          }
165                  } else {                  } else {
166                          warn "# can't call request on nothing!";                          confess "# can't call request on nothing!";
167                  }                  }
168    
169          };          };
# Line 186  sub main { Line 186  sub main {
186          }          }
187    
188          if ( $req->conn ) {          if ( $req->conn ) {
189                    $req->print( "\r\n" ); # flush
190                  $req->conn->close;                  $req->conn->close;
191                  warn "## close connection: $@";                  warn "## close connection: $@";
192          }          }

Legend:
Removed from v.588  
changed lines
  Added in v.589

  ViewVC Help
Powered by ViewVC 1.1.26