From c45b6f077e87b5cbd8cf88e57b9deb6151eefdc7 Mon Sep 17 00:00:00 2001 From: zedshaw Date: Sun, 21 May 2006 14:46:42 +0000 Subject: LGPL preamble on all source files. git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@203 19e92222-5c0b-0410-8929-a290d50e31e9 --- lib/mongrel.rb | 18 ++++++++++++++++++ lib/mongrel/camping.rb | 18 ++++++++++++++++++ lib/mongrel/cgi.rb | 18 ++++++++++++++++++ lib/mongrel/command.rb | 18 ++++++++++++++++++ lib/mongrel/debug.rb | 18 ++++++++++++++++++ lib/mongrel/handlers.rb | 18 ++++++++++++++++++ lib/mongrel/init.rb | 18 ++++++++++++++++++ lib/mongrel/rails.rb | 18 ++++++++++++++++++ lib/mongrel/stats.rb | 18 ++++++++++++++++++ lib/mongrel/tcphack.rb | 18 ++++++++++++++++++ 10 files changed, 180 insertions(+) (limited to 'lib') diff --git a/lib/mongrel.rb b/lib/mongrel.rb index 9e525a2..3e5f4d5 100644 --- a/lib/mongrel.rb +++ b/lib/mongrel.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'socket' require 'http11' require 'tempfile' diff --git a/lib/mongrel/camping.rb b/lib/mongrel/camping.rb index bd13623..351be57 100644 --- a/lib/mongrel/camping.rb +++ b/lib/mongrel/camping.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'mongrel' diff --git a/lib/mongrel/cgi.rb b/lib/mongrel/cgi.rb index a9a7539..e13af84 100644 --- a/lib/mongrel/cgi.rb +++ b/lib/mongrel/cgi.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'cgi' module Mongrel diff --git a/lib/mongrel/command.rb b/lib/mongrel/command.rb index cfad43f..3e59616 100644 --- a/lib/mongrel/command.rb +++ b/lib/mongrel/command.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'rubygems' require 'singleton' require 'optparse' diff --git a/lib/mongrel/debug.rb b/lib/mongrel/debug.rb index d0f6e9e..48a300a 100644 --- a/lib/mongrel/debug.rb +++ b/lib/mongrel/debug.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'logger' require 'set' require 'socket' diff --git a/lib/mongrel/handlers.rb b/lib/mongrel/handlers.rb index d1de076..cccf365 100644 --- a/lib/mongrel/handlers.rb +++ b/lib/mongrel/handlers.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + module Mongrel # You implement your application handler with this. It's very light giving diff --git a/lib/mongrel/init.rb b/lib/mongrel/init.rb index eaea549..55c251d 100644 --- a/lib/mongrel/init.rb +++ b/lib/mongrel/init.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'rubygems' require 'gem_plugin' diff --git a/lib/mongrel/rails.rb b/lib/mongrel/rails.rb index d1e8be6..6bc3b2d 100644 --- a/lib/mongrel/rails.rb +++ b/lib/mongrel/rails.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + require 'mongrel' require 'cgi' diff --git a/lib/mongrel/stats.rb b/lib/mongrel/stats.rb index 4e6b2fe..38ed173 100644 --- a/lib/mongrel/stats.rb +++ b/lib/mongrel/stats.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + # A very simple little class for doing some basic fast statistics sampling. # You feed it either samples of numeric data you want measured or you call # Stats.tick to get it to add a time delta between the last time you called it. diff --git a/lib/mongrel/tcphack.rb b/lib/mongrel/tcphack.rb index 3f769b2..1ed78a7 100644 --- a/lib/mongrel/tcphack.rb +++ b/lib/mongrel/tcphack.rb @@ -1,3 +1,21 @@ +# Mongrel Web Server - A Mostly Ruby Webserver and Library +# +# Copyright (C) 2005 Zed A. Shaw zedshaw AT zedshaw dot com +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + # A modification proposed by Sean Treadway that increases the default accept # queue of TCPServer to 1024 so that it handles more concurrent requests. -- cgit v1.2.3-24-ge0c7