Branch: Tag:

2017-11-20

2017-11-20 14:51:58 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc' into patches/ftp

Synch with Roxen 6.0/6.1 split.

* commit '8468d07e63a61e80c5a7916ab61c0f25135ac2fc': (428 commits)

2017-11-17

2017-11-17 10:17:43 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-09-17

2017-09-17 10:17:43 by Pontus Östlund <ponost@roxen.com>

Merge branch 'devel' into ponost/admin-if-17

2017-08-31

2017-08-31 13:53:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'grubba/chaining_http' into devel

* grubba/chaining_http:
HTTP: Simplify hand over of connection to other protocols.

2017-08-31 13:46:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Simplify hand over of connection to other protocols.

The variable chained_to is now the notification function instead
of an object containing a my_fd_released() function.

2017-08-28

2017-08-28 19:57:16 by Marcus Agehall <agehall@roxen.com>

Refactoring after suggestions from Grubba.

2017-08-28 12:24:36 by Marcus Agehall <agehall@roxen.com>

Added WebSocket support to Roxen.

2017-08-26

2017-08-26 16:09:19 by Marcus Agehall <agehall@roxen.com>

Added WebSocket support to Roxen.

2017-06-21

2017-06-21 12:16:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7602' into grubba/patchsystem

Note: This makes this branch no longer compatible with Roxen 5.2 and earlier.

* patches/bug7602: (117 commits)
RoxenPatch: Complain but proceed when the CA list is empty.
RoxenPatch: The patch cluster is fetched over HTTPS...
RoxenPatch: Support relative URLs from the HTTPS action.
Config IF: Reordered settings somewhat.
Config IF: Join the tabs "Auto {Restart,Patching}" to "Auto Maintenance".
RoxenPatch: Revert the patch installation on manual restart option.
RoxenPatch: Don't apply pending patches on signal exit.
RoxenPatch: More permission filtering.
RoxenPatch: Fixed some NULL-dereferences and calls.
RoxenPatch: Complain if not running a dist.
RoxenPatch: Use HTTPS to fetch the patch cluster.
RoxenPatch: Added control of patch installation to the restart action.
RoxenPatch: Added option to automatically install patches on restart.
RoxenPatch: Throw proper errors instead of arrays with a single string.
RoxenPatch: Clean up the debug log output somewhat.
RoxenPatch: The refresh fetch now also tries If-Modified-Since.
RoxenPatch: The ETag refresh fetch now actually works.
RoxenPatch: Added support for automatic fetch of patch clusters.
RoxenPatch: Perform refresh fetch of the patch cluster.
RoxenPatch: Inhibit "Import from Roxen" without VERSION.DIST.
...

2017-05-05

2017-05-05 12:11:38 by Karl Gustav Sterneberg <kg@roxen.com>

Merge branch 'devel' into kg/archive-client

2017-03-07

2017-03-07 11:32:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws25' into 6.1

* patches/ws25:
Protocols [HTTP]: Don't protocol cache the Set-Cookie header.

2017-03-07 10:35:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws25' into 5.4

* patches/ws25:
Protocols [HTTP]: Don't protocol cache the Set-Cookie header.

2017-03-07 10:34:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws25' into 6.0

* patches/ws25:
Protocols [HTTP]: Don't protocol cache the Set-Cookie header.

2017-03-07 10:32:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws25' into devel

* patches/ws25:
Protocols [HTTP]: Don't protocol cache the Set-Cookie header.

2017-03-07 10:30:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols [HTTP]: Don't protocol cache the Set-Cookie header.

Fixes [WS-25].

2017-02-22

2017-02-22 15:13:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws18' into 6.1

* patches/ws18:
REQUEST_DEBUG: Improved robustness against destructed RequestID.

2017-02-22 15:11:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/ws18' into devel

* patches/ws18:
REQUEST_DEBUG: Improved robustness against destructed RequestID.

2017-02-22 15:10:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

REQUEST_DEBUG: Improved robustness against destructed RequestID.

Fixes [WS-18].

2016-12-16

2016-12-16 21:10:54 by Martin Karlgren <marty@roxen.com>

HTTP: Fix some post-merge breakage.

2016-12-16 20:47:06 by Martin Karlgren <marty@roxen.com>

Support streaming PUT uploads.

Modules that read larger amounts of request data should preferably use
id->request_stream() to get a stream, rather than id->data which returns
a string.

Streaming is not yet supported in chunked mode, but the API works the same
way regardless.

2016-12-14

2016-12-14 12:22:38 by Martin Karlgren <marty@roxen.com>

Add Roxen.http_future() response function.

2016-10-28

2016-10-28 13:56:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7818' into 6.0

* patches/bug7818:
HTTP: Improved robustness.
HTTP [Pike 8.0]: Survive invalidly %-encoded requests again.

2016-10-28 13:55:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7818' into 6.1

* patches/bug7818:
HTTP: Improved robustness.
HTTP [Pike 8.0]: Survive invalidly %-encoded requests again.

2016-10-28 13:54:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7818' into devel

* patches/bug7818:
HTTP: Improved robustness.
HTTP [Pike 8.0]: Survive invalidly %-encoded requests again.

2016-10-28 13:51:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Improved robustness.

Send an internal server error if things_to_do_when_not_sending_from_cache()
throws an error.

Previously the connection was aborted.

Fixes some more of 7818.

2016-10-28 13:43:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP [Pike 8.0]: Survive invalidly %-encoded requests again.

Roxen.http_decode_string() in Pike 8.0 throws errors for invalidly
%-encoded strings.

Behavior is now as follows:

* Invalidly %-encoded query-variables or cookies -- assume that the
erroneous query-variable or cookie was sent unencoded.

* Invalidly %-encoded path -- generate a bad request (400) error.

Fixes [bug 7818].

2016-10-19

2016-10-19 10:41:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7782' into 6.0

* patches/bug7782:
Core: Load demand-loaded modules from handler threads.

2016-10-02

2016-10-02 13:26:05 by Pontus Östlund <ponost@roxen.com>

All logo refs updated to using the logo and some other graphics updated to using the Roxen font and colors.

2016-09-14

2016-09-14 11:19:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7782' into devel

* patches/bug7782:
Core: Load demand-loaded modules from handler threads.

2016-09-14 11:14:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Core: Load demand-loaded modules from handler threads.

Avoid loading all modules for a delayed_load configuration
from the backend thread.

NB: Changes API for find_configuration_for_url(); it may now return
a configuration that has not yet been loaded.

Fixes most of [bug 7782].

2016-05-26

2016-05-26 11:14:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7694' into 5.4

* patches/bug7694:
HTTP: Fixed RFC reference.
Testsuite [HTTP]: Test handling of forwarded headers and redirects.
Testsuite [HTTP]: Let verify_headers() return the parsed headers.
HTTP: Fixed parsing of multiple forwarded headers in url_base().
HTTP: Fixed handling of multiple Forwarded headers.
Logging: Added logging pattern $forwarded.
Relay2: Generate proper Forwarded headers.
Roxen.make_absolute_url: Get rid of old forwarded kludges.
HTTP: Use id->misc->forwarded in id->url_base().
HTTP: Added id-misc-forwarded.

2016-05-26 11:13:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7694' into 5.5

* patches/bug7694:
HTTP: Fixed RFC reference.
Testsuite [HTTP]: Test handling of forwarded headers and redirects.
Testsuite [HTTP]: Let verify_headers() return the parsed headers.
HTTP: Fixed parsing of multiple forwarded headers in url_base().
HTTP: Fixed handling of multiple Forwarded headers.
Logging: Added logging pattern $forwarded.
Relay2: Generate proper Forwarded headers.
Roxen.make_absolute_url: Get rid of old forwarded kludges.
HTTP: Use id->misc->forwarded in id->url_base().
HTTP: Added id-misc-forwarded.
Fix for erroneously closing tags during rewrite
Fix for double zipped data

2016-05-26 11:10:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7694' into 6.0

* patches/bug7694:
HTTP: Fixed RFC reference.
Testsuite [HTTP]: Test handling of forwarded headers and redirects.
Testsuite [HTTP]: Let verify_headers() return the parsed headers.
HTTP: Fixed parsing of multiple forwarded headers in url_base().
HTTP: Fixed handling of multiple Forwarded headers.
Logging: Added logging pattern $forwarded.
Relay2: Generate proper Forwarded headers.
Roxen.make_absolute_url: Get rid of old forwarded kludges.
HTTP: Use id->misc->forwarded in id->url_base().
HTTP: Added id-misc-forwarded.

2016-05-26 11:01:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7694' into devel

* patches/bug7694:
Testsuite [HTTP]: Test handling of forwarded headers and redirects.
Testsuite [HTTP]: Let verify_headers() return the parsed headers.
HTTP: Fixed parsing of multiple forwarded headers in url_base().
HTTP: Fixed handling of multiple Forwarded headers.

2016-05-26 10:50:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Fixed handling of multiple Forwarded headers.

Fixes [bug 7694] some more.

2016-05-25

2016-05-25 16:42:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7694' into devel

* patches/bug7694:
Logging: Added logging pattern $forwarded.
Relay2: Generate proper Forwarded headers.
Roxen.make_absolute_url: Get rid of old forwarded kludges.
HTTP: Use id->misc->forwarded in id->url_base().
HTTP: Added id-misc-forwarded.

2016-05-25 16:19:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Added id-misc-forwarded.

This field contains any parsed RFC 7230 Forwarded headers.

Fixes some of [bug 7694].

2016-04-07

2016-04-07 13:49:56 by Jonas Walldén <jonasw@roxen.com>

Attempt to use protocol cache for certain authenticated resources as well.

All authenticated requests start out flagged as NO_PROTO_CACHE(), but if the
processing later decides it's cacheable after all we store it in a separate
cache compartment dedicated to data that looks like its protected but in
reality is available to everyone. Future authenticated requests may search
this compartment and get cache hits.

2016-04-07 12:24:25 by Jonas Walldén <jonasw@roxen.com>

Don't peek directly into DataCache objects now that we have a method that
returns the relevant data. This will help later on if we wish to evolve the
cache behavior for e.g. auth vs. non-auth entries.

2016-02-11

2016-02-11 12:37:42 by Martin Karlgren <marty@roxen.com>

Fix RequestID object leakage (due to ref cycle with RequestJSONLogger.)

2016-02-11 12:03:26 by Martin Karlgren <marty@roxen.com>

Fix RequestID object leakage (due to ref cycle with RequestJSONLogger.)

2015-12-01

2015-12-01 14:45:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '5ee4d2b88e3e12d1622f9a161e9a29484cbf6e4c' into patches/bug7602

Bump base version to Roxen 5.2.335.

2015-10-23

2015-10-23 13:54:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '8a2ce4a87' into patches/bug7582

* commit '8a2ce4a87': (7413 commits)

2015-10-16

2015-10-16 12:58:26 by Marcus Agehall <agehall@roxen.com>

Merge branch 'agehall/jslog' into devel

2015-10-16 12:55:47 by Marcus Agehall <agehall@roxen.com>

Merge branch 'agehall/jslog' into 6.0

2015-10-16 12:34:57 by Marcus Agehall <agehall@roxen.com>

Rename req_js_logger to json_logger in request objects.

2015-10-16 12:20:33 by Marcus Agehall <agehall@roxen.com>

Use numeric thread id.

2015-10-15

2015-10-15 12:06:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge remote-tracking branch 'origin/agehall/jslog' into 6.0

* origin/agehall/jslog:
Added logging for handler threads in the main server.
Added settings for JS logger endpoints.
Added basic request and configuration JS logging.
Base classes for JS Logging.
Added unique UUID to each request.

2015-10-15 12:03:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge remote-tracking branch 'origin/agehall/jslog' into devel

* origin/agehall/jslog:
Added logging for handler threads in the main server.
Added settings for JS logger endpoints.
Added basic request and configuration JS logging.
Base classes for JS Logging.
Added unique UUID to each request.

2015-10-15 11:53:33 by Marcus Agehall <agehall@roxen.com>

Added basic request and configuration JS logging.

2015-10-15 11:52:43 by Marcus Agehall <agehall@roxen.com>

Added unique UUID to each request.

2015-08-27

2015-08-27 13:13:04 by Marcus Agehall <agehall@roxen.com>

Added basic request and configuration JS logging.

2015-08-27 13:13:03 by Marcus Agehall <agehall@roxen.com>

Added unique UUID to each request.

2015-04-28

2015-04-28 15:04:04 by Jonas Walldén <jonasw@roxen.com>

Avoid Pike 8 compat types.

2015-01-29

2015-01-29 15:43:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Survive losing track of posted variables.

Fixes some of [bug 6990].

2015-01-16

2015-01-16 15:06:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug4066' into 5.5

* patches/bug4066:
SSL Proxy: Now seems to work again. Fixes [bug 4066].

2015-01-16 15:04:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug4066' into devel

* patches/bug4066:
SSL Proxy: Now seems to work again. Fixes [bug 4066].

2015-01-16 14:58:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

SSL Proxy: Now seems to work again. Fixes [bug 4066].

Connect requests look like HTTP/0.9 requests, so don't force them to GET.

Avoid closing the client connection early.

Fixed typo in default "No such host" reply.

2014-12-18

2014-12-18 15:02:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7385' into 5.2

* patches/bug7385:
Protocols: Improved support for reverse proxys. Fixes [bug 7385].

2014-12-16

2014-12-16 06:53:04 by Martin Karlgren <marty@roxen.com>

Support streaming PUT uploads.

Modules that read larger amounts of request data should preferably use
id->request_stream() to get a stream, rather than id->data which returns
a string.

Streaming is not yet supported in chunked mode, but the API works the same
way regardless.

2014-12-15

2014-12-15 15:02:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7385' into 5.4

* patches/bug7385:
Protocols: Improved support for reverse proxys. Fixes [bug 7385].

2014-12-15 15:01:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7385' into 5.5

* patches/bug7385:
Protocols: Improved support for reverse proxys. Fixes [bug 7385].

2014-12-15 14:59:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/bug7385' into devel

* patches/bug7385:
Protocols: Improved support for reverse proxys. Fixes [bug 7385].

2014-12-15 14:57:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocols: Improved support for reverse proxys. Fixes [bug 7385].

Use the actual port number rather than the port number from the Host-
header when determining which configuration a request belongs to. They
may differ when eg the request comes via a proxy on a different port.

2014-11-17

2014-11-17 14:03:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/vary' into 5.5

* patches/vary:
Protocol Cache: Assume that vary is supported by all.
Protocol Cache: Improved vary detection.

2014-11-17 14:00:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/vary' into devel

* patches/vary:
Protocol Cache: Assume that vary is supported by all.

2014-11-17 13:52:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocol Cache: Assume that vary is supported by all.

This change is to avoid the vary header on User-Agent, which was
generated by the CookieJar.

Removes the workaround for MSIE 6 having broken support for vary.

2014-11-14

2014-11-14 16:56:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/vary' into devel

* patches/vary:
Protocol Cache: Improved vary detection.

2014-11-14 16:55:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Protocol Cache: Improved vary detection.

2014-08-08

2014-08-08 12:39:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/pike8.0' into patches/bug4594

* patches/pike8.0: (230 commits)
Pike 8.0: More SSL/TLS API changes.
FTPS: Fixed support for Pike 8.0.
Roxen: Use the current names for the ASN1 classes.
SNMP: The LDAP private ASN.1 classes aren't available in Pike 8.0.
SNMP: The fields tag and cls are variables in Pike 8.0.
Pike 8.0: More SSL changes.
Pike 8.0: Improved robustness when upgrading old certs.
Pike 8.0: Upgrade old automatic X.509v1 certs to X.509v3.
Pike 8.0: Fixed SSL port binding with new API.
Pike 8.0: Take advantage of the improved SSL support.
Pike 8.0: Add support for some new SSL features.
Pike 8.0: #if efun() is obsolete since 10 years back.
Pike 8.0: String.Buffer contains a sprintf().
Pike 8.0: Unset variables are UNDEFINED.
Roxen 5.4.1.
ABS: List the pending call_outs.
Fix warnings generated by Pike 8.0.
DB browser: add support for custom DB field formatters in owning modules.
DBManager.module_table_info: Consider all module entries from the DB.
Added transliteration module.
...

Conflicts:
server/base_server/roxen.pike

2014-07-23

2014-07-23 10:49:16 by Jonas Walldén <jonasw@roxen.com>

If-Range date comparison should use strict equivalence and not less than as
noted in the RFC 7233 clarification of HTTP 1.1 Range Requests.

2014-07-23 10:48:40 by Jonas Walldén <jonasw@roxen.com>

If-Range date comparison should use strict equivalence and not less than as
noted in the RFC 7233 clarification of HTTP 1.1 Range Requests.

2014-05-16

2014-05-16 09:57:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge commit '64ea9f116367427932716bbbb417bd3f20b99feb' into patches/pike8.0

* commit '64ea9f116367427932716bbbb417bd3f20b99feb': (904 commits)
Roxen 5.4.1.
...

Updates the base version for the Pike 8.0 patches to Roxen 5.4.1.

2014-01-09

2014-01-09 10:38:02 by Anders Johansson <anders@roxen.com>

Fixed path display when server path contains symlinks.

This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and
solves [bug 6267].

2014-01-09 10:20:09 by Anders Johansson <anders@roxen.com>

Fixed path display when server path contains symlinks.

This is a bugfix of commit 92dc21b1d1cc2167fc52841d9f88edace5d88dc7 and
solves [bug 6267].

2013-12-19

2013-12-19 18:32:14 by Jonas Walldén <jonasw@roxen.com>

Don't inherit code that does nothing at the moment.

2013-12-19 18:31:30 by Jonas Walldén <jonasw@roxen.com>

Don't inherit code that does nothing at the moment.

2013-05-29

2013-05-29 11:36:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/linger' into 5.2

* patches/linger:
HTTP: Don't linger on close on timeout.

2013-05-29 11:35:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merge branch 'patches/linger' into devel

* patches/linger:
HTTP: Don't linger on close on timeout.

2013-05-29 11:25:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Don't linger on close on timeout.

We don't care if there's data pending in the network buffers when
the connection times out (there probably is), since we won't send
the rest of the result anyway.

2013-03-04

2013-03-04 14:05:47 by Anders Johansson <anders@roxen.com>

No more foreign_idents.

More pain than they are worth.

2012-11-15

2012-11-15 16:54:00 by 0

If response is a status text dynamically wrapped as HTML, set a charset to
eliminate browser nagging.

Rev: server/protocols/http.pike:1.644

2012-01-25

2012-01-25 10:48:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Fixed duplication of second chunk in chunked transfer-encoding.

Rev: server/protocols/http.pike:1.637

2012-01-24

2012-01-24 16:15:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

HTTP: Fixed duplication of second chunk in chunked transfer-encoding.

Rev: server/protocols/http.pike:1.643

2011-12-27

2011-12-27 18:47:14 by Martin Stjernholm <mast@lysator.liu.se>

Recognize both the physical and the logical path to the server dir.

May avoid showing/storing absolute paths in some cases when the server path
contains symlinks.

Rev: server/base_server/roxen.pike:1.1100
Rev: server/config_interface/actions/debug_info.pike:1.48
Rev: server/etc/modules/RXML.pmod/module.pmod:1.425
Rev: server/etc/modules/RoxenDebug.pmod:1.14
Rev: server/protocols/http.pike:1.642

2011-08-29

2011-08-29 22:32:58 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where coding errors in variable names could cause them to be
lost.

This fixes the issue noted in the second half of comment #1 in [bug
6044]. Adapted from a patch suggested by Eiichiro ITANI.

Rev: server/protocols/http.pike:1.544

2011-07-13

2011-07-13 11:04:40 by Martin Stjernholm <mast@lysator.liu.se>

Fixed debug noise when not using an absolute uri for the Destination
header.

Rev: server/protocols/http.pike:1.641

2011-07-13 11:02:32 by Martin Stjernholm <mast@lysator.liu.se>

Improved CONNECTION_DEBUG a bit.

Rev: server/protocols/http.pike:1.640

2011-06-09

2011-06-09 20:36:03 by Martin Stjernholm <mast@lysator.liu.se>

Avoid updating queue_time twice when try_again_later is used.

This could cause the queue_time calculation to bug out and return 503
(service unavailable) when Roxen.http_try_again or
Roxen.http_try_resume was used.

Rev: server/protocols/http.pike:1.639

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

2011-02-09

2011-02-09 08:21:57 by Martin Jonsson <marty@roxen.com>

Return a 503 response if a request has been waiting for too long on the handler queue. Simplistic solution of [Bug 5886].

Rev: server/base_server/configuration.pike:1.714
Rev: server/protocols/http.pike:1.637

2010-12-08

2010-12-08 14:56:03 by Martin Jonsson <marty@roxen.com>

Fixed an SPCI overcaching issue where stale entries wouldn't expire properly.

This occured if the refresh request didn't make it to the cache for some
reason, leaving the stale entry until it timed out.

Rev: server/protocols/http.pike:1.636

2010-12-08 14:19:48 by Martin Stjernholm <mast@lysator.liu.se>

Amended the previous commit.

disconnect() must be called from the backend thread, and don't let an
error in it clobber the internal server error logging.

Rev: server/protocols/http.pike:1.635

2010-12-03

2010-12-03 21:30:51 by Martin Stjernholm <mast@lysator.liu.se>

Be better at disconnecting on low level internal server errors.

Rev: server/protocols/http.pike:1.634

2010-11-30

2010-11-30 16:28:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Autodoc mk II markup fix.

Rev: server/protocols/http.pike:1.633

2010-11-16

2010-11-16 17:43:58 by 0

Update last fix since make_response_headers() already has modified the
underlying data destructively and placed the type in the header block.

Rev: server/protocols/http.pike:1.632

2010-11-16 17:19:44 by 0

Extend r1.619 with another case where file->type should be expanded to the
actual response type.

Rev: server/protocols/http.pike:1.631

2010-11-14

2010-11-14 14:15:08 by 0

Eliminate a redundant call to gethrtime().

Rev: server/protocols/http.pike:1.630

2010-11-10

2010-11-10 10:18:13 by Martin Jonsson <marty@roxen.com>

Fix bug where gzipped protcache entries wouldn't match If-None-Match headers. [RT #16245].

Rev: server/protocols/http.pike:1.629

2010-10-18

2010-10-18 07:42:38 by Martin Jonsson <marty@roxen.com>

Handle multiple Accept-Encoding request headers in client_gzip_enabled(). [Bug 5750], [RT #16147].

Rev: server/protocols/http.pike:1.628

2010-10-11

2010-10-11 09:50:35 by Stefan Wallström <stewa@roxen.com>

Don't share user-agent derived data between request in the same connection. [bug 5741]

Rev: server/protocols/http.pike:1.627

2010-10-08

2010-10-08 15:54:09 by Martin Jonsson <marty@roxen.com>

Make sure the source file has the methods we need in GzStreamingFile before
setting up streaming compression. Fixes [Bug 5740].

Rev: server/protocols/http.pike:1.626

2010-09-02

2010-09-02 16:03:40 by Martin Jonsson <marty@roxen.com>

Add experimental support for streaming HTTP compression. Enable with -DHTTP_COMPR_STREAM.

Rev: server/protocols/http.pike:1.625

2010-08-19

2010-08-19 15:14:52 by Martin Stjernholm <mast@lysator.liu.se>

Fixed lingering threadbound session objects for pipe-in-progress and
http_try_again requests.

Rev: server/protocols/http.pike:1.624

2010-06-30

2010-06-30 09:19:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The data argument to low_send_result() may be UNDEFINED. Fixes InfoKOM 686112.

Rev: server/protocols/http.pike:1.623

2010-06-29

2010-06-29 13:29:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

RequestID->data and RequestID->leftovers are now never zero.

Rev: server/base_server/prototypes.pike:1.272
Rev: server/protocols/ftp.pike:2.141
Rev: server/protocols/http.pike:1.622

2010-05-26

2010-05-26 14:10:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for generation of error 416. Fixes [bug 5415].

Rev: server/protocols/http.pike:1.621

2010-05-26 14:10:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for generation of error 416. Fixes [bug 5415].

Rev: server/protocols/http.pike:1.543

2010-05-26 06:37:40 by Martin Jonsson <marty@roxen.com>

HTTP_COMPRESSION: The Vary header describes request headers, not response headers, so looking if "content-length" is present in the Vary header is irrelevant.

Rev: server/protocols/http.pike:1.620

2010-05-25

2010-05-25 09:06:17 by Martin Jonsson <marty@roxen.com>

HTTP compression fix to make sure we use the request's final content type to
determine compression usage if it's been overridden somewhere in the request.

Rev: server/protocols/http.pike:1.619

2010-05-19

2010-05-19 14:33:51 by Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>

HTTP_COMPRESSION: Only add "accept-encoding" to the Vary header if the request's
content type is actually configured as compressable. Based on patch provided by
Arjan van Staalduijnen, thanks.

Rev: server/protocols/http.pike:1.618

2010-05-19 06:56:41 by Fredrik Noring <noring@nocrew.org>

Added for SNMP: request, handle, and queue times [ From 4.5 ]

Rev: server/base_server/configuration.pike:1.697
Rev: server/base_server/prototypes.pike:1.269
Rev: server/protocols/http.pike:1.617

2010-05-18

2010-05-18 15:06:53 by Fredrik Noring <noring@nocrew.org>

Added for SNMP: request, handle, and queue times

Rev: server/base_server/configuration.pike:1.640
Rev: server/base_server/prototypes.pike:1.196
Rev: server/protocols/http.pike:1.542

2010-04-09

2010-04-09 15:30:42 by Martin Jonsson <marty@roxen.com>

We're not interested in the mimetype string charset suffix when deciding whether to gzip data.

Rev: server/protocols/http.pike:1.616

2010-03-26

2010-03-26 16:31:11 by Martin Jonsson <marty@roxen.com>

Fix Gz.File object leakage together with -DHTTP_COMPRESSION by making sure that the pool of Gz.File instances is kept in the Configuration instead of being a useless per-request pool.

Rev: server/base_server/configuration.pike:1.692
Rev: server/protocols/http.pike:1.615

2009-09-22

2009-09-22 09:23:15 by Martin Stjernholm <mast@lysator.liu.se>

Fixed extra empty line inside response header block if the fallback
code for Roxen.make_http_headers is used.

Rev: server/protocols/http.pike:1.541

2009-09-22 09:21:15 by Martin Stjernholm <mast@lysator.liu.se>

Let us know if Roxen.make_http_headers fails.

Rev: server/protocols/http.pike:1.614

2009-09-22 09:20:26 by Martin Stjernholm <mast@lysator.liu.se>

Fixed extra empty line inside response header block in the fallback
code for Roxen.make_http_headers is used.

Rev: server/protocols/http.pike:1.613

2009-09-21

2009-09-21 17:12:46 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug if a request finishes asynchronously and quickly.

The bug affected the $handle-time accounting, which could fail with a
"lookup in destructed object" error.

Rev: server/protocols/http.pike:1.540

2009-09-21 17:07:39 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bugs if a request finishes asynchronously and quickly.

The bugs affected the $handle-time accounting and the new threadbound
session object feature.

Rev: server/protocols/http.pike:1.612

2009-06-24

2009-06-24 11:38:00 by Martin Stjernholm <mast@lysator.liu.se>

Added $queue-length log field.

Rev: server/base_server/configuration.pike:1.639
Rev: server/base_server/prototypes.pike:1.193
Rev: server/base_server/roxen.pike:1.964
Rev: server/protocols/http.pike:1.539

2009-06-24 11:38:00 by Martin Stjernholm <mast@lysator.liu.se>

Added $queue-length log field.

Rev: server/base_server/configuration.pike:1.680
Rev: server/base_server/prototypes.pike:1.255
Rev: server/base_server/roxen.pike:1.1035
Rev: server/protocols/http.pike:1.611

2009-06-12

2009-06-12 15:53:50 by Martin Stjernholm <mast@lysator.liu.se>

Added a facility to register threadbound session objects in RequestID.

Rev: server/base_server/prototypes.pike:1.254
Rev: server/protocols/http.pike:1.610

2009-06-10

2009-06-10 12:55:30 by Martin Stjernholm <mast@lysator.liu.se>

Added log options $queue-time and $handle-time.

Rev: server/base_server/configuration.pike:1.638
Rev: server/base_server/prototypes.pike:1.192
Rev: server/base_server/roxen.pike:1.963
Rev: server/protocols/http.pike:1.538

2009-06-10 12:48:15 by Martin Stjernholm <mast@lysator.liu.se>

Added log options $queue-time, $handle-time and $handle-cputime.

Rev: server/base_server/configuration.pike:1.679
Rev: server/base_server/prototypes.pike:1.253
Rev: server/base_server/roxen.pike:1.1033
Rev: server/protocols/http.pike:1.609

2009-06-05

2009-06-05 09:11:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some CONNECTION_DEBUG to got_chunk_fragment().

Rev: server/protocols/http.pike:1.608

2009-06-04

2009-06-04 09:09:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in got_chunk_fragment().

Rev: server/protocols/http.pike:1.607

2009-06-03

2009-06-03 16:41:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Some initial support for clients using Transfer-Encoding: chunked.

Rev: server/protocols/http.pike:1.606

2009-05-29

2009-05-29 10:23:00 by Martin Stjernholm <mast@lysator.liu.se>

Improved a REQUEST_DEBUG trace message.

Rev: server/protocols/http.pike:1.605

2009-05-07

2009-05-07 14:45:40 by Stephen R. van den Berg <srb@cuci.nl>

Clean up the handling of file->encoding in HTTP_COMPRESSION mode to make sure it doesn't get messed up. Thanks to srb.

Rev: server/protocols/http.pike:1.604

2009-05-07 14:15:57 by Martin Stjernholm <mast@lysator.liu.se>

Updated copyright notices.

Rev: server/arg_cache_plugins/replicate.pike:1.28
Rev: server/base_server/basic_defvar.pike:1.33
Rev: server/base_server/cache.pike:1.94
Rev: server/base_server/config_userdb.pike:1.56
Rev: server/base_server/configuration.pike:1.678
Rev: server/base_server/disk_cache.pike:1.64
Rev: server/base_server/emit_object.pike:1.8
Rev: server/base_server/fastpipe.pike:1.11
Rev: server/base_server/fonts.pike:1.89
Rev: server/base_server/global_variables.pike:1.118
Rev: server/base_server/highlight_pike.pike:1.8
Rev: server/base_server/hosts.pike:1.37
Rev: server/base_server/html.pike:1.17
Rev: server/base_server/http.pike:1.57
Rev: server/base_server/javamodule.pike:1.9
Rev: server/base_server/language.pike:1.44
Rev: server/base_server/module.pike:1.237
Rev: server/base_server/module_support.pike:1.140
Rev: server/base_server/newdecode.pike:1.36
Rev: server/base_server/prototypes.pike:1.252
Rev: server/base_server/proxyauth.pike:1.11
Rev: server/base_server/read_config.pike:1.71
Rev: server/base_server/roxen.pike:1.1032
Rev: server/base_server/roxenlib.pike:1.225
Rev: server/base_server/roxenloader.pike:1.420
Rev: server/base_server/rxml.pike:1.333
Rev: server/base_server/rxmlhelp.pike:1.74
Rev: server/base_server/slowpipe.pike:1.16
Rev: server/base_server/snmpagent.pike:1.25
Rev: server/base_server/socket.pike:1.26
Rev: server/base_server/state.pike:1.22
Rev: server/base_server/supports.pike:1.27
Rev: server/base_server/throttler.pike:1.12
Rev: server/base_server/wizard.pike:1.168
Rev: server/bin/distclean.pike:1.4
Rev: server/bin/rxnpatch:1.3
Rev: server/config_interface/dbs/db_list.pike:1.4
Rev: server/config_interface/dbs/db_maintenance.pike:1.2
Rev: server/config_interface/dbs/db_optimizeall_ajax.pike:1.2
Rev: server/config_interface/dbs/db_repairall_ajax.pike:1.2
Rev: server/etc/modules/HTML.pmod:1.9
Rev: server/etc/modules/Roxen.pmod:1.278
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.12
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.7
Rev: server/etc/modules/StateHandler.pmod:1.14
Rev: server/font_handlers/builtin.pike:1.16
Rev: server/font_handlers/compactimgfile.pike:1.9
Rev: server/font_handlers/freetype.pike:1.31
Rev: server/font_handlers/imagedir.pike:1.16
Rev: server/font_handlers/imagetar.pike:1.11
Rev: server/font_handlers/old.pike:1.15
Rev: server/font_handlers/ttf.pike:1.19
Rev: server/man/man8/roxen-create-server.1:1.2
Rev: server/man/man8/roxen.1:1.2
Rev: server/modules/compat/compat.pike:1.73
Rev: server/modules/compat/configtablist.pike:1.14
Rev: server/modules/compat/directories2.pike:1.6
Rev: server/modules/compat/fastdir.pike:1.6
Rev: server/modules/compat/flik.pike:1.10
Rev: server/modules/compat/htmlparse.pike:1.8
Rev: server/modules/compat/language.pike:1.3
Rev: server/modules/compat/lpctag.pike:1.7
Rev: server/modules/compat/secure_fs.pike:1.33
Rev: server/modules/compat/sqldb.pike:1.6
Rev: server/modules/compat/userdb.pike:1.5
Rev: server/modules/compat/ximg.pike:1.12
Rev: server/modules/configuration/avg_profiling.pike:1.13
Rev: server/modules/configuration/config_filesystem.pike:1.121
Rev: server/modules/configuration/config_tags.pike:1.202
Rev: server/modules/configuration/roxen_test.pike:1.77
Rev: server/modules/configuration/update.pike:1.41
Rev: server/modules/database/sqltag.pike:1.121
Rev: server/modules/directories/directories.pike:1.96
Rev: server/modules/directories/indexfiles.pike:1.24
Rev: server/modules/examples/JavaReflector.java:1.5
Rev: server/modules/examples/common_api.pike:1.10
Rev: server/modules/examples/filter.pike:1.6
Rev: server/modules/examples/fnord.pike:1.18
Rev: server/modules/examples/last.pike:1.5
Rev: server/modules/examples/location.pike:1.7
Rev: server/modules/examples/newstyle_fnord.pike:1.16
Rev: server/modules/examples/userdb_ex.pike:1.9
Rev: server/modules/filesystems/filesystem.pike:1.160
Rev: server/modules/filesystems/incoming.pike:1.20
Rev: server/modules/filesystems/restrictedfs.pike:1.25
Rev: server/modules/filesystems/sqlfs.pike:1.10
Rev: server/modules/filesystems/tarfs.pike:1.12
Rev: server/modules/filesystems/userfs.pike:1.72
Rev: server/modules/filters/auto_gzip.pike:1.14
Rev: server/modules/filters/hostredirect.pike:1.39
Rev: server/modules/filters/redirect.pike:1.54
Rev: server/modules/filters/supports_filter.pike:1.8
Rev: server/modules/filters/tableborder.pike:1.15
Rev: server/modules/filters/url_rectifier.pike:1.18
Rev: server/modules/filters/whitespace_remover.pike:1.8
Rev: server/modules/filters/word_highlight.pike:1.6
Rev: server/modules/graphics/atlas.pike:1.18
Rev: server/modules/graphics/business.pike:1.153
Rev: server/modules/graphics/cimg.pike:1.81
Rev: server/modules/graphics/gbutton.pike:1.119
Rev: server/modules/graphics/graphic_text.pike:1.307
Rev: server/modules/graphics/gxml.pike:1.41
Rev: server/modules/graphics/pimage.pike:1.32
Rev: server/modules/graphics/rimage/plugins/autocrop.pike:1.5
Rev: server/modules/graphics/rimage/plugins/color.pike:1.5
Rev: server/modules/graphics/rimage/plugins/copy.pike:1.5
Rev: server/modules/graphics/rimage/plugins/distance.pike:1.5
Rev: server/modules/graphics/rimage/plugins/flood.pike:1.5
Rev: server/modules/graphics/rimage/plugins/generic.pike:1.5
Rev: server/modules/graphics/rimage/plugins/grey.pike:1.5
Rev: server/modules/graphics/rimage/plugins/gtext.pike:1.6
Rev: server/modules/graphics/rimage/plugins/hsv2rgb.pike:1.5
Rev: server/modules/graphics/rimage/plugins/invert.pike:1.5
Rev: server/modules/graphics/rimage/plugins/load.pike:1.5
Rev: server/modules/graphics/rimage/plugins/mirrorx.pike:1.5
Rev: server/modules/graphics/rimage/plugins/mirrory.pike:1.5
Rev: server/modules/graphics/rimage/plugins/move.pike:1.5
Rev: server/modules/graphics/rimage/plugins/paste.pike:1.6
Rev: server/modules/graphics/rimage/plugins/polygon.pike:1.5
Rev: server/modules/graphics/rimage/plugins/restore.pike:1.5
Rev: server/modules/graphics/rimage/plugins/rgb2hsv.pike:1.5
Rev: server/modules/graphics/rimage/plugins/rotate.pike:1.5
Rev: server/modules/graphics/rimage/plugins/save.pike:1.6
Rev: server/modules/graphics/rimage/plugins/scale.pike:1.5
Rev: server/modules/graphics/rimage/plugins/skewx.pike:1.5
Rev: server/modules/graphics/rimage/plugins/skewy.pike:1.5
Rev: server/modules/graphics/rimage/plugins/solid.pike:1.6
Rev: server/modules/graphics/rimage/plugins/threshold.pike:1.5
Rev: server/modules/graphics/rimage/plugins/tunedbox.pike:1.6
Rev: server/modules/graphics/rimage/plugins/write.pike:1.5
Rev: server/modules/graphics/rimage/rimage.pike:1.24
Rev: server/modules/graphics/tablist.pike:1.60
Rev: server/modules/graphics/wiretap.pike:1.36
Rev: server/modules/icecast/dir_playlist.pike:1.6
Rev: server/modules/icecast/icecast.pike:1.13
Rev: server/modules/icecast/pl_common.pike:1.10
Rev: server/modules/js-support/javascript_support.pike:1.71
Rev: server/modules/js-support/scripts/CrossPlatform.js:1.27
Rev: server/modules/js-support/scripts/DragDrop.js:1.5
Rev: server/modules/js-support/scripts/DynamicLoading.js:1.25
Rev: server/modules/js-support/scripts/Popup.js:1.32
Rev: server/modules/js-support/scripts/Scroll.js:1.6
Rev: server/modules/ldap/ldaptag.pike:2.40
Rev: server/modules/ldap/userdb_ldap.pike:1.15
Rev: server/modules/logging/client_logger.pike:1.17
Rev: server/modules/logging/home_logger.pike:1.36
Rev: server/modules/logging/nologging.pike:1.16
Rev: server/modules/logging/roxen_network.pike:1.16
Rev: server/modules/misc/contenttypes.pike:1.25
Rev: server/modules/misc/demo.pike:1.22
Rev: server/modules/misc/implicit_use.pike:1.8
Rev: server/modules/misc/ismap.pike:1.23
Rev: server/modules/misc/language2.pike:1.24
Rev: server/modules/misc/pathinfo.pike:1.22
Rev: server/modules/misc/preferred_language.pike:1.38
Rev: server/modules/misc/randomtext.pike:1.11
Rev: server/modules/misc/robots.txt.pike:1.6
Rev: server/modules/misc/wapadapter.pike:1.15
Rev: server/modules/proxies/connect.pike:1.21
Rev: server/modules/proxies/ftpgateway.pike:1.43
Rev: server/modules/proxies/gopher.pike:1.29
Rev: server/modules/proxies/proxy.pike:1.58
Rev: server/modules/proxies/relay2.pike:1.40
Rev: server/modules/proxies/wais.pike:1.30
Rev: server/modules/scripting/cgi.pike:2.70
Rev: server/modules/scripting/fastcgi.pike:2.14
Rev: server/modules/scripting/fpscript.pike:1.15
Rev: server/modules/scripting/perl.pike:2.28
Rev: server/modules/scripting/pikescript.pike:1.75
Rev: server/modules/scripting/piketag.pike:2.39
Rev: server/modules/scripting/servlet.pike:2.25
Rev: server/modules/scripting/webapp.pike:2.33
Rev: server/modules/security/auth_httpbasic.pike:1.13
Rev: server/modules/security/auth_httpcookie.pike:1.13
Rev: server/modules/security/htaccess.pike:1.107
Rev: server/modules/security/userdb_system.pike:1.13
Rev: server/modules/tags/accessed.pike:1.58
Rev: server/modules/tags/additional_rxml.pike:1.52
Rev: server/modules/tags/awizard.pike:1.30
Rev: server/modules/tags/check_spelling.pike:1.36
Rev: server/modules/tags/countdown.pike:1.53
Rev: server/modules/tags/diremit.pike:1.20
Rev: server/modules/tags/email.pike:1.50
Rev: server/modules/tags/emit_timerange.pike:1.38
Rev: server/modules/tags/foldlist.pike:1.37
Rev: server/modules/tags/html_wash.pike:1.35
Rev: server/modules/tags/indirect_href.pike:1.35
Rev: server/modules/tags/insert_cached_href.pike:1.25
Rev: server/modules/tags/kerberos.pike:1.5
Rev: server/modules/tags/killframe.pike:1.37
Rev: server/modules/tags/obox.pike:1.42
Rev: server/modules/tags/rxmlparse.pike:1.83
Rev: server/modules/tags/rxmltags.pike:1.618
Rev: server/modules/tags/sed.pike:1.20
Rev: server/modules/tags/session_tag.pike:1.26
Rev: server/modules/tags/sizer.pike:1.27
Rev: server/modules/tags/ssi.pike:1.49
Rev: server/modules/tags/tablify.pike:1.81
Rev: server/modules/tags/translation_mod.pike:1.17
Rev: server/modules/tags/vform.pike:1.56
Rev: server/modules/tags/wizard_tag.pike:1.34
Rev: server/modules/tags/wizz.pike:1.11
Rev: server/modules/throttling/baseline_throttling.pike:1.9
Rev: server/modules/throttling/throttlelib.pike:1.16
Rev: server/modules/throttling/throttletags.pike:1.16
Rev: server/modules/throttling/throttling_byaddress.pike:1.7
Rev: server/modules/throttling/throttling_byhostname.pike:1.4
Rev: server/modules/throttling/throttling_bytime.pike:1.9
Rev: server/modules/throttling/throttling_bytype.pike:1.12
Rev: server/modules/throttling/throttling_byuser.pike:1.5
Rev: server/more_modules/tagdoc_notation.pike:2.4
Rev: server/protocols/ftp.pike:2.133
Rev: server/protocols/http.pike:1.603
Rev: server/protocols/prot_ftp.pike:2.5
Rev: server/protocols/prot_ftps.pike:2.7
Rev: server/protocols/prot_hilfe.pike:2.17
Rev: server/protocols/prot_http.pike:2.7
Rev: server/protocols/prot_https.pike:2.16
Rev: server/protocols/prot_snmp.pike:2.12
Rev: server/protocols/prot_tetris.pike:2.6
Rev: server/tools/ntroxen/startdll/startdll.rc:1.5
Rev: server/tools/ntroxen/version.h:1.52
Rev: server/tools/roxenis.mib:1.4

2009-05-05

2009-05-05 15:39:12 by Martin Jonsson <marty@roxen.com>

Fixed the bug that no ETag would be set for uncompressed cache entries.

Rev: server/protocols/http.pike:1.602

2009-04-28

2009-04-28 16:49:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

clone_me() keeps being without cookies.

Rev: server/base_server/prototypes.pike:1.250
Rev: server/protocols/http.pike:1.601

2009-04-28 16:47:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

No need to disconnect the cookie jar anymore (since it's not connected to begin with).

Rev: server/protocols/http.pike:1.600

2009-04-28 16:42:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

clone_me() now survives being without cookies again.

Rev: server/base_server/prototypes.pike:1.249
Rev: server/protocols/http.pike:1.599

2009-04-28 13:53:06 by Martin Jonsson <marty@roxen.com>

Sync cookie jar instantiation with prototypes.pike (clone_me()).

Rev: server/protocols/http.pike:1.598

2009-04-17

2009-04-17 15:40:20 by Martin Stjernholm <mast@lysator.liu.se>

Moved get_max_cache and set_max_cache from the http protocol to RequestID,
added lower_max_cache and raise_max_cache, and implemented
id->misc->local_cacheable to be able to track local cache time changes.

Rev: server/base_server/prototypes.pike:1.244
Rev: server/protocols/http.pike:1.597

2009-04-17 13:44:22 by Martin Jonsson <marty@roxen.com>

HTTP compression: Register lower case "accept-encoding" Vary header value instead of "Accept-Encoding" to be consistent with Roxen's general practice.

Rev: server/protocols/http.pike:1.596

2009-04-17 07:53:37 by Stephen R. van den Berg <srb@cuci.nl>

HTTP Compression fixes: Fix bug where a stale Content-Type value could be used to decide whether to use compression or not. Also added a trivial optimization (only use the compressed data if it is smaller than the original data.) Thanks to srb@cuci.nl for the patch.

Rev: server/protocols/http.pike:1.595

2009-04-01

2009-04-01 14:05:09 by Thomas Gusenleitner <tomgusi@gmail.com>

The check of the Expect header is now case-insensitive.
Fixes [bug 4694]. Thanks to <tomgusi@gmail.com>.

Rev: server/protocols/http.pike:1.594

2009-03-31

2009-03-31 13:44:22 by Martin Stjernholm <mast@lysator.liu.se>

Added some notes.

Rev: server/protocols/http.pike:1.593

2009-03-21

2009-03-21 18:43:40 by Martin Stjernholm <mast@lysator.liu.se>

Corrected handling of rest_query.

Rev: server/protocols/http.pike:1.592

2009-03-21 18:38:21 by Martin Stjernholm <mast@lysator.liu.se>

Removed some dead code.

Rev: server/protocols/http.pike:1.591

2009-03-21 18:25:14 by Martin Stjernholm <mast@lysator.liu.se>

Fixed multipart/form-data POSTs to comply to standards, and also fixed
it to work with de-facto browser behavior wrt charset handling. Thanks
to srb for pointing this out.

Fixed the foo.mimetype variables to contain only the content type, not
the whole header.

Added id->misc->post_parts to keep the MIME objects from
multipart/form-data around in case someone wants to look at all the
headers and parameters.

Rev: server/protocols/http.pike:1.590

2009-03-17

2009-03-17 07:46:45 by Martin Jonsson <marty@roxen.com>

Fix cookie overcaching in the protocol cache that occured on requests served from a protocol
cache entry that was generated from a "refresh" request. The problem was that the CookieJar was
disconnected unconditionally when sending from the protocol cache, even if the request later resulted in
a refresh. The result was that no cookie callbacks would be registered during the refresh request.

Rev: server/protocols/http.pike:1.589

2009-03-17 07:46:27 by Martin Jonsson <marty@roxen.com>

Fix cookie overcaching in the protocol cache that occured on requests served from a protocol
cache entry that was generated from a "refresh" request. The problem was that the CookieJar was
disconnected unconditionally when sending from the protocol cache, even if the request later resulted in
a refresh. The result was that no cookie callbacks would be registered during the refresh request.

Rev: server/protocols/http.pike:1.537

2009-02-16

2009-02-16 16:43:50 by 0

Added debug.

Rev: server/etc/modules/RXML.pmod/module.pmod:1.390
Rev: server/protocols/http.pike:1.588

2009-01-29

2009-01-29 22:07:33 by Martin Jonsson <marty@roxen.com>

Alter the ETag when serving gzipped content also when it's been stored in the protocol cache.

Rev: server/protocols/http.pike:1.587

2009-01-29 22:00:57 by Martin Jonsson <marty@roxen.com>

Don't gzip anything if we're dealing with byte ranges, just to be sure. Add "Accept-Encoding" to the Vary header if compression is enabled, to make caching proxies etc. behave as they should.

Rev: server/protocols/http.pike:1.586

2009-01-29 20:43:46 by Stephen R. van den Berg <srb@cuci.nl>

Read and write gzip "files" in binary mode. Suggested by srb.

Rev: server/protocols/http.pike:1.585

2009-01-28

2009-01-28 18:28:37 by 0

Fix bug when returning data that didn't get compressed. Speed up test for
suitable Accept-Encoding header.

Rev: server/protocols/http.pike:1.584

2009-01-28 17:33:47 by Martin Jonsson <marty@roxen.com>

Add support for HTTP gzip compression. Enable with -DHTTP_COMPRESSION.

Rev: server/base_server/configuration.pike:1.665
Rev: server/protocols/http.pike:1.583

2009-01-21

2009-01-21 13:07:29 by Martin Stjernholm <mast@lysator.liu.se>

Do not normalize id->misc->host. This ensures that redirects within the site
are generated with the same hostname exactly as the client sent it.
id->misc->hostname is still normalized.

Rev: server/base_server/prototypes.pike:1.228
Rev: server/protocols/http.pike:1.582

2009-01-17

2009-01-17 13:50:31 by Martin Stjernholm <mast@lysator.liu.se>

Use Protocols.IPv6 to normalize ipv6 addresses properly in registered urls.

Rev: server/base_server/roxen.pike:1.1020
Rev: server/protocols/http.pike:1.581

2009-01-15

2009-01-15 17:07:08 by Martin Stjernholm <mast@lysator.liu.se>

Added missing CONNECTION_DEBUG messages for various error responses.

Rev: server/protocols/http.pike:1.580

2009-01-15 14:09:26 by Martin Stjernholm <mast@lysator.liu.se>

Fixed rfc 2616 compliance for unknown Expect header values.

Rev: server/protocols/http.pike:1.579

2009-01-10

2009-01-10 17:00:46 by Stephen R. van den Berg <srb@cuci.nl>

Use full urls for protocol cache keys when find_configuration_for_url
resorts to nonmatching (default) configurations. Loosely based on a
patch by srb.

Rev: server/protocols/http.pike:1.578

2009-01-10 13:53:47 by Stephen R. van den Berg <srb@cuci.nl>

Keep POST body variables in internal redirects. Based on a patch by srb.

Rev: server/base_server/prototypes.pike:1.225
Rev: server/modules/filters/redirect.pike:1.51
Rev: server/protocols/http.pike:1.577

2009-01-09

2009-01-09 15:57:26 by Martin Stjernholm <mast@lysator.liu.se>

Reverted some debug code that got in by mistake.

Rev: server/protocols/http.pike:1.576

2009-01-09 13:35:45 by Martin Stjernholm <mast@lysator.liu.se>

Lowered the line limit in the backtraces on the error 500 pages.

Rev: server/protocols/http.pike:1.575

2009-01-08

2009-01-08 23:14:46 by Stephen R. van den Berg <srb@cuci.nl>

Patch from srb: Use compacter (and faster) Crypto.XYZ.hash() member function.

Rev: server/base_server/global_variables.pike:1.115
Rev: server/base_server/prototypes.pike:1.224
Rev: server/base_server/roxen.pike:1.1009
Rev: server/bin/setup_nsr.pike:1.5
Rev: server/etc/modules/RXML.pmod/module.pmod:1.389
Rev: server/modules/tags/rxmltags.pike:1.582
Rev: server/protocols/http.pike:1.574

2009-01-07

2009-01-07 16:19:02 by Martin Stjernholm <mast@lysator.liu.se>

Adapted the CONNECTION_DEBUG output to the behavior of
sprintf ("%O", ...) in 7.8.

Rev: server/protocols/http.pike:1.573

2008-12-11

2008-12-11 15:32:54 by 0

Fix IPv6 bugs.

Rev: server/base_server/module.pike:1.233
Rev: server/base_server/prototypes.pike:1.221
Rev: server/base_server/roxen.pike:1.1001
Rev: server/config_interface/sites/site_content.pike:1.153
Rev: server/etc/modules/Roxen.pmod:1.261
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.11
Rev: server/modules/proxies/gopher.pike:1.28
Rev: server/modules/proxies/relay2.pike:1.39
Rev: server/modules/proxies/wais.pike:1.29
Rev: server/modules/tags/html_wash.pike:1.34
Rev: server/protocols/http.pike:1.572

2008-12-09

2008-12-09 12:45:05 by Stefan Wallström <stewa@roxen.com>

spello

Rev: server/protocols/http.pike:1.536

2008-12-09 12:44:38 by Stefan Wallström <stewa@roxen.com>

spello

Rev: server/protocols/http.pike:1.571

2008-12-09 11:41:39 by Stefan Wallström <stewa@roxen.com>

Possible workaround for freezing Acrobat/IE.

Rev: server/protocols/http.pike:1.535

2008-12-09 11:41:23 by Stefan Wallström <stewa@roxen.com>

Possible workaround for freezing Acrobat/IE.

Rev: server/protocols/http.pike:1.570

2008-11-05

2008-11-05 20:28:57 by Martin Stjernholm <mast@lysator.liu.se>

Cleanup the request traces a little.

Rev: server/protocols/http.pike:1.569

2008-11-05 18:19:49 by Martin Stjernholm <mast@lysator.liu.se>

Generalized the TOSTR macro by moving it to roxen.h.

Rev: server/etc/include/roxen.h:1.31
Rev: server/protocols/http.pike:1.568

2008-10-10

2008-10-10 14:46:12 by Martin Stjernholm <mast@lysator.liu.se>

Added an early http_request_init provider hook, as per Arjan van
Staalduijnen's suggestion.

Rev: server/protocols/http.pike:1.567

2008-10-06

2008-10-06 15:04:49 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bug where the request trace could fail to format a message, causing
the protocol cache to bail out.

Rev: server/protocols/http.pike:1.566

2008-10-06 15:04:49 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bug where the request trace could fail to format a message, causing
the protocol cache to bail out.

Rev: server/protocols/http.pike:1.534

2008-09-26

2008-09-26 13:48:35 by Martin Stjernholm <mast@lysator.liu.se>

Did away with a stray debug printout and a rather silly use of break
in the last commit. (Mostly indentation change.)

Rev: server/protocols/http.pike:1.565

2008-09-26 13:39:12 by Martin Stjernholm <mast@lysator.liu.se>

Optimize the no query case a bit.

Rev: server/protocols/http.pike:1.564

2008-09-26 13:25:04 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where the path part of the url wasn't correctly
utf-8-decoded when there was no query.

Rev: server/protocols/http.pike:1.563

2008-08-18

2008-08-18 13:18:45 by Erik Dahl <erikd@roxen.com>

The prefix added to the RoxenUserID cookie was not usefull for cookie stickiness in load balanced environment

Rev: server/etc/modules/Roxen.pmod:1.224
Rev: server/modules/tags/session_tag.pike:1.24
Rev: server/protocols/http.pike:1.533

2008-08-18 13:18:40 by Erik Dahl <erikd@roxen.com>

The prefix added to the RoxenUserID cookie was not usefull for cookie stickiness in load balanced environment

Rev: server/etc/modules/Roxen.pmod:1.247
Rev: server/modules/tags/session_tag.pike:1.24
Rev: server/protocols/http.pike:1.562

2008-08-15

2008-08-15 12:33:55 by Martin Stjernholm <mast@lysator.liu.se>

Moving to pike 7.8 and dropping compatibility with earlier pikes.

Rev: server/arg_cache_plugins/replicate.pike:1.27
Rev: server/base_server/__default.pmod:1.2
Rev: server/base_server/cache.pike:1.90
Rev: server/base_server/config_userdb.pike:1.53
Rev: server/base_server/configuration.pike:1.653
Rev: server/base_server/emit_object.pike:1.7
Rev: server/base_server/fonts.pike:1.87
Rev: server/base_server/global_variables.pike:1.110
Rev: server/base_server/javamodule.pike:1.7
Rev: server/base_server/language.pike:1.43
Rev: server/base_server/module.pike:1.231
Rev: server/base_server/module_support.pike:1.135
Rev: server/base_server/prototypes.pike:1.219
Rev: server/base_server/roxen.pike:1.981
Rev: server/base_server/roxenlib.pike:1.224
Rev: server/base_server/roxenloader.pike:1.397
Rev: server/base_server/rxmlhelp.pike:1.65
Rev: server/base_server/smtprelay.pike:3.2
Rev: server/base_server/snmpagent.pike:1.24
Rev: server/bin/buildenv.pike:1.10
Rev: server/bin/create_testcert.pike:1.2
Rev: server/bin/functions:1.19
Rev: server/bin/garbagecollector.pike:1.23
Rev: server/bin/setup_nsr.pike:1.4
Rev: server/bin/sqlhelper.pike:1.4
Rev: server/config_interface/actions/change_version.pike:1.15
Rev: server/config_interface/actions/debug_info.pike:1.40
Rev: server/config_interface/actions/feature_list.pike:1.14
Rev: server/config_interface/actions/ftpstatus.pike:1.4
Rev: server/config_interface/actions/generate_rsa.pike:1.7
Rev: server/config_interface/actions/make_rsa_csr.pike:1.11
Rev: server/config_interface/actions/make_selfsigned_dsa.pike:1.11
Rev: server/config_interface/actions/make_selfsigned_rsa.pike:1.10
Rev: server/config_interface/actions/ssl_common.pike:1.8
Rev: server/config_interface/actions/tablist.pike:1.10
Rev: server/config_interface/actions/threads.pike:1.8
Rev: server/etc/env.d/java.pike:1.19
Rev: server/etc/include/variables.h:1.18
Rev: server/etc/modules/DBManager.pmod:1.76
Rev: server/etc/modules/ExtSQL.pmod:1.4
Rev: server/etc/modules/ExtScript.pmod:1.22
Rev: server/etc/modules/GText.pmod:1.20
Rev: server/etc/modules/HTML.pmod:1.8
Rev: server/etc/modules/JavaModule.pmod:1.25
Rev: server/etc/modules/LazyImage.pmod/CoordinateSystem.pike:1.4
Rev: server/etc/modules/LazyImage.pmod/Legend.pike:1.5
Rev: server/etc/modules/LazyImage.pmod/module.pmod:1.19
Rev: server/etc/modules/License.pmod:1.27
Rev: server/etc/modules/Map.pmod:1.7
Rev: server/etc/modules/PropertySet.pike:1.12
Rev: server/etc/modules/RXML.pmod/PEnt.pike:1.24
Rev: server/etc/modules/RXML.pmod/PXml.pike:1.65
Rev: server/etc/modules/RXML.pmod/module.pmod:1.367
Rev: server/etc/modules/Roxen.pmod:1.246
Rev: server/etc/modules/RoxenDebug.pmod:1.12
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.10
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.6
Rev: server/etc/modules/RoxenSSLFile.pike:1.27(DEAD)
Rev: server/etc/modules/SNMP.pmod:1.10
Rev: server/etc/modules/Servlet.pmod:1.31
Rev: server/etc/modules/SloppyDOM.pmod:1.16
Rev: server/etc/modules/StateHandler.pmod:1.13
Rev: server/etc/modules/VFS.pmod:1.7
Rev: server/etc/modules/Variable.pmod/Date.pike:1.9
Rev: server/etc/modules/Variable.pmod/Email.pike:1.15
Rev: server/etc/modules/Variable.pmod/Image.pike:1.5
Rev: server/etc/modules/Variable.pmod/Language.pike:1.2
Rev: server/etc/modules/Variable.pmod/MapLocation.pike:1.6
Rev: server/etc/modules/Variable.pmod/Mapping.pike:1.9
Rev: server/etc/modules/Variable.pmod/Upload.pike:1.5
Rev: server/etc/modules/Variable.pmod/module.pmod:1.108
Rev: server/etc/modules/_NewLDAP.pmod/client.pike:1.11(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/ldap_globals.h:1.1(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/ldap_privates.pmod:1.1(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/module.pmod:1.4(DEAD)
Rev: server/etc/modules/_NewLDAP.pmod/protocol.pike:1.1(DEAD)
Rev: server/etc/roxen_master.pike:1.150
Rev: server/etc/test/tests/ftp/ftp_test.pike:1.4
Rev: server/font_handlers/freetype.pike:1.30
Rev: server/font_handlers/imagedir.pike:1.15
Rev: server/font_handlers/imagetar.pike:1.10
Rev: server/font_handlers/ttf.pike:1.18
Rev: server/languages/catala.pike:1.11
Rev: server/languages/chinese.pike:1.2
Rev: server/languages/croatian.pike:1.11
Rev: server/languages/czech.pike:1.18
Rev: server/languages/dutch.pike:1.11
Rev: server/languages/finnish.pike:1.10
Rev: server/languages/french.pike:1.13
Rev: server/languages/german.pike:1.11
Rev: server/languages/hungarian.pike:1.7
Rev: server/languages/italian.pike:1.13
Rev: server/languages/japanese.pike:1.22
Rev: server/languages/maori.pike:1.9
Rev: server/languages/norwegian.pike:1.12
Rev: server/languages/polish.pike:1.8
Rev: server/languages/portuguese.pike:1.11
Rev: server/languages/russian.pike:1.10
Rev: server/languages/serbian.pike:1.10
Rev: server/languages/slovenian.pike:1.17
Rev: server/languages/spanish.pike:1.12
Rev: server/languages/swedish.pike:1.20
Rev: server/modules/configuration/config_tags.pike:1.197
Rev: server/modules/configuration/roxen_test.pike:1.68
Rev: server/modules/configuration/update.pike:1.40
Rev: server/modules/examples/userdb_ex.pike:1.8
Rev: server/modules/filesystems/filesystem.pike:1.157
Rev: server/modules/filesystems/incoming.pike:1.19
Rev: server/modules/filesystems/restrictedfs.pike:1.24
Rev: server/modules/filesystems/sqlfs.pike:1.9
Rev: server/modules/filesystems/userfs.pike:1.71
Rev: server/modules/filters/tableborder.pike:1.13
Rev: server/modules/filters/whitespace_remover.pike:1.4
Rev: server/modules/graphics/business.pike:1.152
Rev: server/modules/graphics/gxml.pike:1.38
Rev: server/modules/graphics/pimage.pike:1.31
Rev: server/modules/graphics/rimage/rimage.pike:1.23
Rev: server/modules/icecast/icecast.pike:1.12
Rev: server/modules/icecast/pl_common.pike:1.9
Rev: server/modules/js-support/javascript_support.pike:1.68
Rev: server/modules/ldap/ldaptag.pike:2.38
Rev: server/modules/ldap/userdb_ldap.pike:1.14
Rev: server/modules/logging/home_logger.pike:1.35
Rev: server/modules/misc/preferred_language.pike:1.32
Rev: server/modules/misc/randomtext.pike:1.10
Rev: server/modules/misc/wapadapter.pike:1.13
Rev: server/modules/misc/webdav.pike:1.38
Rev: server/modules/proxies/connect.pike:1.20
Rev: server/modules/proxies/proxy.pike:1.57
Rev: server/modules/proxies/wais.pike:1.28
Rev: server/modules/scripting/cgi.pike:2.65
Rev: server/modules/scripting/fastcgi.pike:2.13
Rev: server/modules/scripting/perl.pike:2.26
Rev: server/modules/scripting/php.pike:2.5
Rev: server/modules/scripting/piketag.pike:2.38
Rev: server/modules/scripting/servlet.pike:2.24
Rev: server/modules/scripting/webapp.pike:2.32
Rev: server/modules/security/auth_httpbasic.pike:1.12
Rev: server/modules/security/auth_httpcookie.pike:1.12
Rev: server/modules/security/htaccess.pike:1.106
Rev: server/modules/security/userdb_sql.pike:1.10
Rev: server/modules/security/userdb_system.pike:1.12
Rev: server/modules/tags/accessed.pike:1.57
Rev: server/modules/tags/email.pike:1.43
Rev: server/modules/tags/emit_exec.pike:1.4
Rev: server/modules/tags/emit_timerange.pike:1.29
Rev: server/modules/tags/insert_cached_href.pike:1.22
Rev: server/modules/tags/obox.pike:1.41
Rev: server/modules/tags/rxmltags.pike:1.553
Rev: server/modules/tags/wizz.pike:1.10
Rev: server/modules/tags/writefile.pike:1.20
Rev: server/modules/throttling/throttling_byaddress.pike:1.6
Rev: server/modules/throttling/throttling_bytime.pike:1.8
Rev: server/ntroxenloader.pike:1.9
Rev: server/protocols/ftp.pike:2.125
Rev: server/protocols/http.pike:1.561
Rev: server/protocols/prot_hilfe.pike:2.15
Rev: server/protocols/prot_snmp.pike:2.8
Rev: server/sbin/roxen-create-server:1.5
Rev: server/tools/ntroxen/startdll/cmdline.cpp:1.21

2008-08-13

2008-08-13 16:18:02 by Mathias Södermark <m.sodermark@gmail.com>

Fixed a problem where directory delimiters disappeared from the file name when uploading files with Internet Explorer.

Rev: server/protocols/http.pike:1.560

2008-05-13

2008-05-13 13:55:57 by Martin Stjernholm <mast@lysator.liu.se>

Don't allow downstream caching when stale responses are sent.

Rev: server/protocols/http.pike:1.559

2008-05-12

2008-05-12 14:25:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added missing #ifndef on DISABLE_VARY_EXPIRES_FALLBACK.

Rev: server/protocols/http.pike:1.558

2008-05-09

2008-05-09 18:47:59 by Martin Stjernholm <mast@lysator.liu.se>

Improved CONNECTION_DEBUG somewhat and made its logging of headers a
little less confusing.

Rev: server/protocols/http.pike:1.557

2008-05-09 16:23:59 by Martin Stjernholm <mast@lysator.liu.se>

Fixed 7.7 warnings, mostly about unused local variables.

Rev: server/base_server/fonts.pike:1.86
Rev: server/base_server/highlight_pike.pike:1.7
Rev: server/base_server/roxen.pike:1.975
Rev: server/base_server/roxenlib.pike:1.223
Rev: server/base_server/roxenloader.pike:1.394
Rev: server/base_server/rxmlhelp.pike:1.64
Rev: server/etc/modules/DBManager.pmod:1.74
Rev: server/etc/modules/Dims.pmod:1.12
Rev: server/font_handlers/compactimgfile.pike:1.8
Rev: server/protocols/ftp.pike:2.121
Rev: server/protocols/http.pike:1.556

2008-05-09 07:22:21 by Erik Dahl <erikd@roxen.com>

With this change the you may use the RoxenUserID cookie's first bytes for stickiness in load balancers if it supports looking at a specific cookie's value

Rev: server/etc/modules/Roxen.pmod:1.239
Rev: server/modules/tags/session_tag.pike:1.23
Rev: server/protocols/http.pike:1.555

2008-05-09 07:11:29 by Erik Dahl <erikd@roxen.com>

With this change the you may use the RoxenUserID cookie's first bytes for stickiness in load balancers if it supports looking at a specific cookie's value

Rev: server/etc/modules/Roxen.pmod:1.223
Rev: server/modules/tags/session_tag.pike:1.23
Rev: server/protocols/http.pike:1.532

2008-05-07

2008-05-07 10:51:30 by Martin Stjernholm <mast@lysator.liu.se>

Moved the last piece (a http status message mapping) out of variables.h and
into Roxen.pmod, and did away with variables.h includes.

Rev: server/base_server/prototypes.pike:1.213
Rev: server/base_server/roxen.pike:1.974
Rev: server/etc/include/variables.h:1.17
Rev: server/etc/modules/Roxen.pmod:1.237
Rev: server/modules/tags/sizer.pike:1.26
Rev: server/protocols/ftp.pike:2.120
Rev: server/protocols/http.pike:1.554

2008-05-06

2008-05-06 15:22:23 by Stefan Wallström <stewa@roxen.com>

Added missing cr-lf to 100 Continue sender.

Rev: server/protocols/http.pike:1.531

2008-04-28

2008-04-28 15:13:37 by Martin Stjernholm <mast@lysator.liu.se>

Put "stale" in $cache-status for all requests that get responses from stale
cache entries.

Rev: server/protocols/http.pike:1.553

2008-04-28 15:13:36 by Martin Stjernholm <mast@lysator.liu.se>

Put "stale" in $cache-status for all requests that get responses from stale
cache entries.

Rev: server/protocols/http.pike:1.530

2008-03-14

2008-03-14 13:25:26 by Martin Stjernholm <mast@lysator.liu.se>

Avoid showing the headers twice if CONNECTION_DEBUG matches the
content type.

Rev: server/protocols/http.pike:1.552

2008-02-28

2008-02-28 15:27:36 by 0

If a request has both If-Modified-Since and If-None-Match a failed Etag match
must not result in a 304 response even if the timestamp is equal.

Rev: server/protocols/http.pike:1.529

2008-02-28 15:27:34 by 0

If a request has both If-Modified-Since and If-None-Match a failed Etag match
must not result in a 304 response even if the timestamp is equal.

Rev: server/protocols/http.pike:1.551

2008-02-22

2008-02-22 14:19:04 by Martin Stjernholm <mast@lysator.liu.se>

Try to utf-8 decode incoming requests when there's no magic charset
variable, with silent fallback to iso-8859-1. This conforms to the IRI
spec in RFC 3987 and is necessary to reverse the encoding made by
http_encode_url et al. Fixes [bug 4479].

Rev: server/protocols/http.pike:1.528

2008-02-19

2008-02-19 17:09:38 by Martin Stjernholm <mast@lysator.liu.se>

Less intrusive browser bug kludge in the parsing of
application/x-www-form-urlencoded data in POST requests - the original
data is no longer touched. This makes the applauncher kludge
unnecessary.

Also added id->misc->content_type_type and
id->misc->content_type_params.

Rev: server/protocols/http.pike:1.550

2008-02-18

2008-02-18 18:51:24 by Martin Stjernholm <mast@lysator.liu.se>

Do the request line and header crunching once when HeaderParser->feed
returns it. This exploits the fact that HeaderParser->feed returns a
result only when it has gotten the complete header block.

This also fixes the bug with the changed scope of the line variable
which was introduced in rev 1.543.

Rev: server/protocols/http.pike:1.549

2008-02-18 18:39:58 by Martin Stjernholm <mast@lysator.liu.se>

Preparation for the next commit: This is a pure indentation change.

Rev: server/protocols/http.pike:1.548

2008-02-18 16:56:08 by Martin Stjernholm <mast@lysator.liu.se>

Refactored the request charset decoding process. It now only decodes
request lines and POST form responses, not everything and then some
that happens to be in the request object.

The charset for incoming requests now defaults to utf-8 instead of
iso-8859-1. There is a silent fallback to iso-8859-1 if utf-8 decode
fails, and magic_roxen_automatic_charset_variable takes precedence if
it exists.

Rev: server/protocols/http.pike:1.547

2008-02-18 13:42:26 by Martin Stjernholm <mast@lysator.liu.se>

Do not use Roxen.simplify_path to build not_query from the url path;
we don't want special trickery for drive letters and network shares on
windows.

Rev: server/protocols/http.pike:1.546

2008-02-18 11:50:28 by Martin Stjernholm <mast@lysator.liu.se>

Added some comments and made the CRLF trimming kludge of POST form
data more precise.

Rev: server/protocols/http.pike:1.545

2008-02-15

2008-02-15 16:40:23 by Martin Stjernholm <mast@lysator.liu.se>

And a little bit more (again mostly indentation).

Rev: server/protocols/http.pike:1.544

2008-02-15 16:37:47 by Martin Stjernholm <mast@lysator.liu.se>

Some code cleanup (mostly indentation change).

Rev: server/protocols/http.pike:1.543

2008-01-16

2008-01-16 09:32:08 by Thomas Gusenleitner <tomgusi@gmail.com>

Added missing cr-lf to 100 Continue sender.
Thanks to Thomas Gusenleitner <tomgusi@gmail.com>.

Rev: server/protocols/http.pike:1.542

2008-01-10

2008-01-10 17:12:16 by Martin Stjernholm <mast@lysator.liu.se>

Explicit lowercase convention for id->misc->vary.

Rev: server/base_server/prototypes.pike:1.202
Rev: server/protocols/http.pike:1.541

2008-01-10 15:14:27 by Martin Stjernholm <mast@lysator.liu.se>

Enable vary support for IE 7 (not that I verified that it really works).

Rev: server/protocols/http.pike:1.540

2008-01-10 10:19:56 by Martin Stjernholm <mast@lysator.liu.se>

Moved init of id->misc->pref_languages into a separate function for use from
vary callbacks.

Rev: server/base_server/prototypes.pike:1.199
Rev: server/protocols/ftp.pike:2.118
Rev: server/protocols/http.pike:1.539

2008-01-09

2008-01-09 16:40:43 by Martin Stjernholm <mast@lysator.liu.se>

Improved request trace for the protocol cache.

Rev: server/base_server/configuration.pike:1.644
Rev: server/protocols/http.pike:1.538

2008-01-08

2008-01-08 15:14:00 by Martin Stjernholm <mast@lysator.liu.se>

Backported support for cache key invalidation. This is only enabled if
ENABLE_SPCI is defined.

Rev: server/base_server/prototypes.pike:1.189
Rev: server/protocols/http.pike:1.527

2008-01-08 15:11:18 by Martin Stjernholm <mast@lysator.liu.se>

Zap the remote address when the request becomes an internal refresh.

Rev: server/protocols/http.pike:1.537

2008-01-08 13:44:38 by Martin Stjernholm <mast@lysator.liu.se>

Use ProtocolCacheKey.

Rev: server/protocols/http.pike:1.536

2007-12-04

2007-12-04 12:58:40 by Martin Stjernholm <mast@lysator.liu.se>

Added a sanity check to get a better error if we happen to attempt
sending widestrings.

Rev: server/protocols/http.pike:1.526

2007-10-30

2007-10-30 13:03:29 by Anders Johansson <anders@roxen.com>

Use the protocols default port in stead of the bound port as default when canonicalizing the host header. This fixes a problem where id->url_base() did not reflect the port the client had used.

Rev: server/protocols/http.pike:1.525

2007-10-30 13:03:29 by Anders Johansson <anders@roxen.com>

Use the protocols default port in stead of the bound port as default when canonicalizing the host header. This fixes a problem where id->url_base() did not reflect the port the client had used.

Rev: server/protocols/http.pike:1.535

2007-10-01

2007-10-01 12:29:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed potential starvation.

Rev: server/protocols/http.pike:1.534

2007-09-21

2007-09-21 14:26:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.533

2007-09-21 12:42:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The protocol cache now knows about stale CacheKeys.

Rev: server/protocols/http.pike:1.532

2007-09-12

2007-09-12 16:53:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed potential refresh race in the protocol cache.

Rev: server/protocols/http.pike:1.531

2007-09-12 16:45:48 by Anders Johansson <anders@roxen.com>

Improved debug message when storing in ram cache.

Rev: server/protocols/http.pike:1.530

2007-09-12 16:43:15 by Anders Johansson <anders@roxen.com>

Improved debug message when storing in ram cache and backported missing code in last checkin.

Rev: server/protocols/http.pike:1.524

2007-09-04

2007-09-04 13:27:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported protocol cache gracetime support from Roxen 5.0.

Rev: server/protocols/http.pike:1.523

2007-09-04 13:25:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved accuracy of the cache_lookup timer.

Rev: server/protocols/http.pike:1.529

2007-09-04 12:59:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Decreased the protocol cache refresh grace period
from cachetime/2 to 3*cachetime/4 - 5 seconds.
This should reduce the amount of unneeded refreshes.

Rev: server/protocols/http.pike:1.528

2007-09-03

2007-09-03 16:45:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixes for getting the protocol cache refresh support running without races.

Rev: server/protocols/http.pike:1.527

2007-09-03 13:42:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo in none_match handling.

Rev: server/protocols/http.pike:1.522

2007-09-03 13:42:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo in none_match handling.

Rev: server/protocols/http.pike:1.526

2007-08-28

2007-08-28 15:12:07 by Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>

Applied patch for If-None-Match support for the protocol cache.
Thanks to Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>.

Rev: server/protocols/http.pike:1.521

2007-08-28 15:12:02 by Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>

Applied patch for If-None-Match support for the protocol cache.
Thanks to Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>.

Rev: server/protocols/http.pike:1.525

2007-08-16

2007-08-16 11:53:35 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some time() calls.

Rev: server/protocols/http.pike:1.524

2007-08-14

2007-08-14 16:04:17 by Martin Stjernholm <mast@lysator.liu.se>

Added a sanity check to get a better error if we happen to attempt
sending widestrings.

Rev: server/protocols/http.pike:1.523

2007-06-12

2007-06-12 13:25:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved diagnostics for pipe in progress.

Rev: server/protocols/http.pike:1.522

2007-06-12 13:25:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved diagnostics for pipe in progress.

Rev: server/protocols/http.pike:1.520

2007-06-12 12:28:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

do_not_disconnect mode now works again for http_pipe_in_progress().

Rev: server/protocols/http.pike:1.519

2007-06-12 12:28:08 by Henrik Grubbström (Grubba) <grubba@grubba.org>

do_not_disconnect mode now works again for http_pipe_in_progress().

Rev: server/protocols/http.pike:1.521

2007-04-20

2007-04-20 15:01:05 by 0

Bug fix.

Rev: server/protocols/http.pike:1.520

2007-04-04

2007-04-04 15:57:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in decode_map() where file content could be decoded if it used the same encoding as the form variables.

Rev: server/protocols/http.pike:1.482

2007-04-04 15:55:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in decode_map() where file content could be decoded if it used the same encoding as the form variables.

Rev: server/protocols/http.pike:1.518

2007-04-04 15:55:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in decode_map() where file content could be decoded if it used the same encoding as the form variables.

Rev: server/protocols/http.pike:1.519

2007-03-09

2007-03-09 21:30:39 by Martin Stjernholm <mast@lysator.liu.se>

Avoid leaking fd's when clients open ssl connections and close them
immediately again.

Rev: server/protocols/http.pike:1.518
Rev: server/protocols/prot_https.pike:2.15

2007-03-09 21:30:38 by Martin Stjernholm <mast@lysator.liu.se>

Avoid leaking fd's when clients open ssl connections and close them
immediately again.

Rev: server/protocols/http.pike:1.517
Rev: server/protocols/prot_https.pike:2.15

2007-02-27

2007-02-27 09:08:18 by Fredrik Noring <noring@nocrew.org>

Don't trim whitespace for Application Launcher. It uses a non-standard way of "posting" data on Mac OS.

Rev: server/protocols/http.pike:1.516

2007-02-27 09:08:18 by Fredrik Noring <noring@nocrew.org>

Don't trim whitespace for Application Launcher. It uses a non-standard way of "posting" data on Mac OS.

Rev: server/protocols/http.pike:1.517

2007-02-27 09:08:17 by Fredrik Noring <noring@nocrew.org>

Don't trim whitespace for Application Launcher. It uses a non-standard way of "posting" data on Mac OS.

Rev: server/protocols/http.pike:1.481

2007-02-26

2007-02-26 15:22:02 by Martin Stjernholm <mast@lysator.liu.se>

Backported fix from 4.5:

Fixed memory garbage that occurred for the redirect from http to https
when an https port is accessed using http. Could also fix other cases
where references to destructed RequestID objects were kept.

Testing shows that this fix isn't sufficient to avoid garbage in 4.0,
however. It's probably due to the old sslfile and the
destruct_protected_sslfile hack in roxen.pike.

Rev: server/protocols/http.pike:1.480
Rev: server/protocols/prot_https.pike:2.12

2007-02-26 13:02:47 by Martin Stjernholm <mast@lysator.liu.se>

Fixed memory garbage that occurred for the redirect from http to https when
an https port is accessed using http. Could also fix other cases where
references to destructed RequestID objects were kept. Might fix RT ticket
[roxen.com #8894].

Rev: server/protocols/http.pike:1.516
Rev: server/protocols/prot_https.pike:2.14

2007-02-26 13:02:46 by Martin Stjernholm <mast@lysator.liu.se>

Fixed memory garbage that occurred for the redirect from http to https when
an https port is accessed using http. Could also fix other cases where
references to destructed RequestID objects were kept. Might fix RT ticket
[roxen.com #8894].

Rev: server/protocols/http.pike:1.515
Rev: server/protocols/prot_https.pike:2.14

2007-02-08

2007-02-08 14:05:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

NO_PROTO_CACHE() doesn't like there not being an id...

Rev: server/protocols/http.pike:1.479

2006-12-14

2006-12-14 10:48:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed over caching of the RoxenUserID cookie.

Rev: server/protocols/http.pike:1.515

2006-12-14 10:48:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed over caching of the RoxenUserID cookie.

Rev: server/protocols/http.pike:1.514

2006-12-14 10:48:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed over caching of the RoxenUserID cookie.

Rev: server/protocols/http.pike:1.478

2006-12-07

2006-12-07 16:47:20 by Stefan Wallström <stewa@roxen.com>

Byte ranges fix from 4.5

Rev: server/protocols/http.pike:1.514

2006-12-01

2006-12-01 10:49:45 by Stefan Wallström <stewa@roxen.com>

Bugfix for multi byte ranges.

Rev: server/protocols/http.pike:1.513

2006-11-16

2006-11-16 12:56:55 by Martin Stjernholm <mast@lysator.liu.se>

Added a FIXME.

Rev: server/protocols/http.pike:1.513

2006-11-08

2006-11-08 15:58:41 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo in multiple range handling.

Rev: server/protocols/http.pike:1.512

2006-11-08 15:58:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo in multiple range handling.

Rev: server/protocols/http.pike:1.512

2006-10-30

2006-10-30 10:09:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix.

Rev: server/protocols/http.pike:1.477

2006-10-27

2006-10-27 12:54:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 4237] backported from Roxen 4.5.

Rev: server/protocols/http.pike:1.476

2006-10-27 12:54:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 4237].

Rev: server/protocols/http.pike:1.511

2006-10-27 11:59:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported content-type logging support for protocol cache from Roxen 4.5.

Rev: server/protocols/http.pike:1.475

2006-10-16

2006-10-16 15:17:57 by Martin Stjernholm <mast@lysator.liu.se>

Backported new event logging system from 4.5, along with the new
$request-time logging specifier and various minor fixes in the logging code.

Rev: server/base_server/configuration.pike:1.598
Rev: server/base_server/module.pike:1.223
Rev: server/base_server/prototypes.pike:1.151
Rev: server/base_server/roxen.pike:1.901
Rev: server/protocols/http.pike:1.474

2006-10-13

2006-10-13 17:20:54 by Martin Stjernholm <mast@lysator.liu.se>

SSL fix for FD_DEBUG. Improved and cleaned up CONNECTION_DEBUG a
little. -DCONNECTION_DEBUG (without a value) works more naturally.

Rev: server/protocols/http.pike:1.510

2006-09-25

2006-09-25 13:14:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Merged url_base() into base_server/prototypes.pike:RequestID.

Rev: server/protocols/http.pike:1.509

2006-09-21

2006-09-21 15:03:40 by Marcus Wellhardh <wellhard@roxen.com>

Fixed hrtime for keep-alive requests.

Rev: server/protocols/http.pike:1.508

2006-09-21 14:56:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now caches more in the protocol cache.

Rev: server/protocols/http.pike:1.507

2006-09-21 14:44:42 by Marcus Wellhardh <wellhard@roxen.com>

Implemented better timing for requests using gethrtime(). The log variable $request-time is now pretty acurate.

Rev: server/base_server/prototypes.pike:1.183
Rev: server/base_server/roxen.pike:1.936
Rev: server/protocols/http.pike:1.506

2006-09-14

2006-09-14 11:36:52 by Marcus Wellhardh <wellhard@roxen.com>

Disconnect the cookie jar when sending from ram cache.

Rev: server/protocols/http.pike:1.505

2006-09-06

2006-09-06 11:39:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported workaround for Safari bug 6452 from Roxen 4.5.

Rev: server/protocols/http.pike:1.473

2006-08-21

2006-08-21 11:20:54 by Marcus Wellhardh <wellhard@roxen.com>

Moved definition of OLD_RXML_CONFIG to config.h to be able to use the define in multiple files.

Rev: server/etc/include/config.h:1.35
Rev: server/protocols/http.pike:1.504

2006-08-16

2006-08-16 10:56:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Update real_cookies as well as cookies when disconnecting the CookieJar.

Rev: server/protocols/http.pike:1.503

2006-08-11

2006-08-11 15:03:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed generation of Content-Length header in handle_byte_ranges().
Fixes hangs with keep-alive and byte-ranges.

Rev: server/protocols/http.pike:1.502

2006-05-17

2006-05-17 16:53:40 by Anders Johansson <anders@roxen.com>

IE does not support vary headers in a good way.

Rev: server/protocols/http.pike:1.501

2006-05-03

2006-05-03 16:48:31 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug in the internal server error formatter that caused the error
message to be lost if it didn't contain any newline.

Rev: server/protocols/http.pike:1.500

2006-04-26

2006-04-26 12:03:35 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug in a request trace message, noted by Erik.

Rev: server/protocols/http.pike:1.499

2006-04-24

2006-04-24 15:06:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.498

2006-04-20

2006-04-20 13:29:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed autodoc markup. Added cache status "protstore".

Rev: server/protocols/http.pike:1.497

2006-04-20 11:03:57 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses the NO_PROTO_CACHE() macro to disable the protocol cache.
Added support for fetching from the protocol cache also for HTTP/0.9 requests.

Rev: server/protocols/http.pike:1.496

2006-03-22

2006-03-22 14:56:33 by Marcus Wellhardh <wellhard@roxen.com>

Improved behaviour of url_base() when there"s a port remapper in the way i.e. a load balancer that forwards port 80 to a non port 80.

Rev: server/protocols/http.pike:1.472

2006-03-21

2006-03-21 16:18:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved behaviour of url_base() when there's a port remapper in the way.

Rev: server/protocols/http.pike:1.495

2006-03-09

2006-03-09 14:27:12 by Martin Stjernholm <mast@lysator.liu.se>

Better formatting of the internal server error page when the backtrace
message is long and when the backtrace lines are long.

Rev: server/protocols/http.pike:1.494

2006-01-02

2006-01-02 12:54:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More lenient handing of stale cache callbacks.
Thanks to Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl> for the suggestion.

Rev: server/protocols/http.pike:1.493

2005-12-20

2005-12-20 17:30:57 by Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>

Bugfix for conditionals. Thanks to Arjan van Staalduijnen <Arjan.van.Staalduijnen@rtl.nl>.

Rev: server/protocols/http.pike:1.492

2005-12-20 17:27:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix for conditional requests getting cached in the RAM cache.

Rev: server/protocols/http.pike:1.471

2005-12-13

2005-12-13 12:17:44 by Anders Johansson <anders@roxen.com>

Don't use return code from ram cache when returning 304 not modified.

Rev: server/protocols/http.pike:1.491

2005-12-07

2005-12-07 15:13:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Decoding the charset for cookies is probably not a good idea...

Rev: server/protocols/http.pike:1.490

2005-12-07 14:51:59 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses the CookieJar.
Obsoleted parse_cookies().

Rev: server/protocols/http.pike:1.489

2005-12-07 13:24:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix for expiry header.

Rev: server/protocols/http.pike:1.488

2005-12-05

2005-12-05 17:04:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Forward compat for keep-alive handling.
id->misc->connection now gets a default setting from the protocol version.

Rev: server/protocols/http.pike:1.487

2005-12-05 16:29:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Vary fallback for HTTP/1.0.

Rev: server/protocols/http.pike:1.486

2005-12-05 13:35:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The protocol DataCache is now hierarchial, and utilizes the callbacks installed by id->register_vary_callback().

Rev: server/base_server/configuration.pike:1.598
Rev: server/protocols/http.pike:1.485

2005-11-28

2005-11-28 16:21:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for If-Range (RFC 2068 14.27).

Rev: server/protocols/http.pike:1.484

2005-11-28 14:44:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses the extra argument to DataCache()->expire_entry().

Rev: server/protocols/http.pike:1.483

2005-11-28 14:42:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Use the host header in the RAM cache key.

Rev: server/protocols/http.pike:1.470

2005-11-25

2005-11-25 17:52:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The RAM cache now supports byte ranges.

Rev: server/protocols/http.pike:1.482

2005-11-25 16:14:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Lots of cleanups.
Added support for ranges and non-files.

Rev: server/protocols/http.pike:1.481

2005-11-24

2005-11-24 17:41:26 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now canonicalizes the host header, and sends it along to the RAM cache.
Thanks to RTL for the suggestion.

Rev: server/protocols/http.pike:1.480

2005-11-24 14:39:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added low_send_result() to clean up some of the low level result sending code.

Rev: server/protocols/http.pike:1.479

2005-11-18

2005-11-18 16:32:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Might now support running without THREADS again.

Rev: server/protocols/http.pike:1.478

2005-11-18 15:53:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The protocol cache now supports If-Modified-Since.

Rev: server/protocols/http.pike:1.469

2005-11-18 15:53:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The protocol cache now supports If-Modified-Since.

Rev: server/protocols/http.pike:1.477

2005-10-28

2005-10-28 11:58:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Ported fix for [bug 4040] from Roxen 4.0.

Rev: server/protocols/http.pike:1.476

2005-10-28 08:53:12 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.468

2005-10-27

2005-10-27 17:40:54 by Henrik Grubbström (Grubba) <grubba@grubba.org>

First try at fixing [bug 4040].

Rev: server/protocols/http.pike:1.467

2005-10-10

2005-10-10 14:37:10 by 0

Probably nicer logo alignment on 500 pages.

Rev: server/protocols/http.pike:1.475

2005-08-16

2005-08-16 14:54:25 by Martin Stjernholm <mast@lysator.liu.se>

Different approach to the header charset problem. No encoding is done at
this level now.

Rev: server/protocols/http.pike:1.474

2005-08-16 14:54:23 by Martin Stjernholm <mast@lysator.liu.se>

Different approach to the header charset problem. No encoding is done at
this level now.

Rev: server/protocols/http.pike:1.466

2005-06-21

2005-06-21 11:25:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Recode 8-bit headers too.

Rev: server/protocols/http.pike:1.473

2005-06-17

2005-06-17 09:16:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for wide headers from Roxen 4.1.

Rev: server/protocols/http.pike:1.465

2005-04-06

2005-04-06 15:03:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Removed some debug.

Rev: server/protocols/http.pike:1.472

2005-04-02

2005-04-02 14:46:30 by Martin Stjernholm <mast@lysator.liu.se>

Fixed typo.

Rev: server/protocols/http.pike:1.471

2005-04-01

2005-04-01 16:10:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Attept to fix support for chained requests.

Rev: server/protocols/http.pike:1.470

2005-03-31

2005-03-31 09:53:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed proper encoding of wide headers.

Rev: server/protocols/http.pike:1.469

2005-03-01

2005-03-01 19:12:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now works with old ssl again.

Rev: server/protocols/http.pike:1.468

2005-02-07

2005-02-07 18:58:51 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a confused comment.

Rev: server/protocols/http.pike:1.467

2005-01-19

2005-01-19 15:21:30 by Martin Stjernholm <mast@lysator.liu.se>

Trade a bit of fancy design to make better use of the screen real
estate when full backtraces are reported in the internal server error
response. (Backtraces tend to have very long lines.)

Rev: server/protocols/http.pike:1.466

2004-12-01

2004-12-01 16:56:41 by Stefan Wallström <stewa@roxen.com>

Handle multiple cookie headers.

Rev: server/protocols/http.pike:1.465

2004-10-15

2004-10-15 09:00:16 by 0

Removed an old (from revision 1.1!) undocumented limitation on POSTed form
variables where the data must be less than 200000 bytes. Fixes [bug 3808].

Rev: server/protocols/http.pike:1.464

2004-10-15 09:00:11 by 0

Removed an old (from revision 1.1!) undocumented limitation on POSTed form
variables where the data must be less than 200000 bytes. Fixes [bug 3808].

Rev: server/protocols/http.pike:1.464

2004-08-18

2004-08-18 17:08:18 by Martin Stjernholm <mast@lysator.liu.se>

Do the keep-alive chaining in the backend to avoid races. Removed some
misguided attempts to cope with those races and (hopefully) fixed them
properly instead. Removed the cruft necessary for the old SSL.sslfile.

Rev: server/protocols/http.pike:1.463

2004-08-18 17:04:25 by Martin Stjernholm <mast@lysator.liu.se>

Do the keep-alive chaining in the backend to avoid races.

Rev: server/protocols/http.pike:1.463

2004-08-17

2004-08-17 15:16:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed excessive "HTTP piping, but no pipe for" when running with FD_DEBUG.
Reverted misdirected kludge for Opera.

Rev: server/protocols/http.pike:1.462

2004-08-11

2004-08-11 13:13:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Workaround for Opera & keep-alive.

Rev: server/protocols/http.pike:1.461

2004-08-11 12:11:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed race in chain().
FD_DEBUG is now verbose even when not running with REQUEST_DEBUG.
CHECK_FD_SAFE_USE is now somewhat more paranoid.

Rev: server/protocols/http.pike:1.460

2004-06-30

2004-06-30 17:03:20 by Martin Stjernholm <mast@lysator.liu.se>

Updated copyright notices.

Rev: server/arg_cache_plugins/replicate.pike:1.20
Rev: server/base_server/basic_defvar.pike:1.30
Rev: server/base_server/cache.pike:1.84
Rev: server/base_server/config_userdb.pike:1.50
Rev: server/base_server/configuration.pike:1.582
Rev: server/base_server/disk_cache.pike:1.62
Rev: server/base_server/emit_object.pike:1.6
Rev: server/base_server/fastpipe.pike:1.9
Rev: server/base_server/fonts.pike:1.85
Rev: server/base_server/global_variables.pike:1.93
Rev: server/base_server/highlight_pike.pike:1.6
Rev: server/base_server/hosts.pike:1.32
Rev: server/base_server/html.pike:1.16
Rev: server/base_server/http.pike:1.56
Rev: server/base_server/javamodule.pike:1.6
Rev: server/base_server/language.pike:1.41
Rev: server/base_server/module.pike:1.216
Rev: server/base_server/module_support.pike:1.118
Rev: server/base_server/newdecode.pike:1.31
Rev: server/base_server/prototypes.pike:1.145
Rev: server/base_server/proxyauth.pike:1.10
Rev: server/base_server/read_config.pike:1.65
Rev: server/base_server/roxen.pike:1.877
Rev: server/base_server/roxenlib.pike:1.219
Rev: server/base_server/roxenloader.pike:1.357
Rev: server/base_server/rxml.pike:1.329
Rev: server/base_server/rxmlhelp.pike:1.62
Rev: server/base_server/slowpipe.pike:1.15
Rev: server/base_server/socket.pike:1.25
Rev: server/base_server/state.pike:1.21
Rev: server/base_server/supports.pike:1.26
Rev: server/base_server/throttler.pike:1.11
Rev: server/base_server/wizard.pike:1.152
Rev: server/bin/distclean.pike:1.3
Rev: server/etc/modules/HTML.pmod:1.7
Rev: server/etc/modules/Roxen.pmod:1.184
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Client.pike:1.9
Rev: server/etc/modules/RoxenRPC.pmod/HTTP.pmod/Server.pike:1.5
Rev: server/etc/modules/StateHandler.pmod:1.11
Rev: server/font_handlers/builtin.pike:1.14
Rev: server/font_handlers/compactimgfile.pike:1.7
Rev: server/font_handlers/freetype.pike:1.26
Rev: server/font_handlers/imagedir.pike:1.14
Rev: server/font_handlers/imagetar.pike:1.9
Rev: server/font_handlers/old.pike:1.12
Rev: server/font_handlers/ttf.pike:1.17
Rev: server/modules/compat/compat.pike:1.70
Rev: server/modules/compat/configtablist.pike:1.13
Rev: server/modules/compat/directories2.pike:1.5
Rev: server/modules/compat/fastdir.pike:1.5
Rev: server/modules/compat/flik.pike:1.7
Rev: server/modules/compat/htmlparse.pike:1.7
Rev: server/modules/compat/language.pike:1.2
Rev: server/modules/compat/lpctag.pike:1.6
Rev: server/modules/compat/secure_fs.pike:1.29
Rev: server/modules/compat/sqldb.pike:1.5
Rev: server/modules/compat/userdb.pike:1.4
Rev: server/modules/compat/ximg.pike:1.11
Rev: server/modules/configuration/avg_profiling.pike:1.12
Rev: server/modules/configuration/config_filesystem.pike:1.112
Rev: server/modules/configuration/config_tags.pike:1.185
Rev: server/modules/configuration/roxen_test.pike:1.62
Rev: server/modules/configuration/update.pike:1.38
Rev: server/modules/database/sqltag.pike:1.102
Rev: server/modules/directories/directories.pike:1.94
Rev: server/modules/directories/indexfiles.pike:1.23
Rev: server/modules/examples/JavaReflector.java:1.4
Rev: server/modules/examples/common_api.pike:1.9
Rev: server/modules/examples/filter.pike:1.4
Rev: server/modules/examples/fnord.pike:1.17
Rev: server/modules/examples/last.pike:1.4
Rev: server/modules/examples/location.pike:1.6
Rev: server/modules/examples/newstyle_fnord.pike:1.15
Rev: server/modules/examples/userdb_ex.pike:1.7
Rev: server/modules/filesystems/filesystem.pike:1.147
Rev: server/modules/filesystems/incoming.pike:1.18
Rev: server/modules/filesystems/restrictedfs.pike:1.23
Rev: server/modules/filesystems/sqlfs.pike:1.8
Rev: server/modules/filesystems/tarfs.pike:1.11
Rev: server/modules/filesystems/userfs.pike:1.69
Rev: server/modules/filters/auto_gzip.pike:1.13
Rev: server/modules/filters/hostredirect.pike:1.26
Rev: server/modules/filters/redirect.pike:1.35
Rev: server/modules/filters/supports_filter.pike:1.7
Rev: server/modules/filters/tableborder.pike:1.12
Rev: server/modules/filters/url_rectifier.pike:1.17
Rev: server/modules/filters/whitespace_remover.pike:1.3
Rev: server/modules/filters/word_highlight.pike:1.4
Rev: server/modules/graphics/atlas.pike:1.16
Rev: server/modules/graphics/business.pike:1.148
Rev: server/modules/graphics/cimg.pike:1.67
Rev: server/modules/graphics/gbutton.pike:1.111
Rev: server/modules/graphics/graphic_text.pike:1.295
Rev: server/modules/graphics/gxml.pike:1.32
Rev: server/modules/graphics/pimage.pike:1.30
Rev: server/modules/graphics/rimage/plugins/autocrop.pike:1.4
Rev: server/modules/graphics/rimage/plugins/color.pike:1.4
Rev: server/modules/graphics/rimage/plugins/copy.pike:1.4
Rev: server/modules/graphics/rimage/plugins/distance.pike:1.4
Rev: server/modules/graphics/rimage/plugins/flood.pike:1.4
Rev: server/modules/graphics/rimage/plugins/generic.pike:1.4
Rev: server/modules/graphics/rimage/plugins/grey.pike:1.4
Rev: server/modules/graphics/rimage/plugins/gtext.pike:1.5
Rev: server/modules/graphics/rimage/plugins/hsv2rgb.pike:1.4
Rev: server/modules/graphics/rimage/plugins/invert.pike:1.4
Rev: server/modules/graphics/rimage/plugins/load.pike:1.4
Rev: server/modules/graphics/rimage/plugins/mirrorx.pike:1.4
Rev: server/modules/graphics/rimage/plugins/mirrory.pike:1.4
Rev: server/modules/graphics/rimage/plugins/move.pike:1.4
Rev: server/modules/graphics/rimage/plugins/paste.pike:1.5
Rev: server/modules/graphics/rimage/plugins/polygon.pike:1.4
Rev: server/modules/graphics/rimage/plugins/restore.pike:1.4
Rev: server/modules/graphics/rimage/plugins/rgb2hsv.pike:1.4
Rev: server/modules/graphics/rimage/plugins/rotate.pike:1.4
Rev: server/modules/graphics/rimage/plugins/save.pike:1.5
Rev: server/modules/graphics/rimage/plugins/scale.pike:1.4
Rev: server/modules/graphics/rimage/plugins/skewx.pike:1.4
Rev: server/modules/graphics/rimage/plugins/skewy.pike:1.4
Rev: server/modules/graphics/rimage/plugins/solid.pike:1.5
Rev: server/modules/graphics/rimage/plugins/threshold.pike:1.4
Rev: server/modules/graphics/rimage/plugins/tunedbox.pike:1.5
Rev: server/modules/graphics/rimage/plugins/write.pike:1.4
Rev: server/modules/graphics/rimage/rimage.pike:1.22
Rev: server/modules/graphics/tablist.pike:1.59
Rev: server/modules/graphics/wiretap.pike:1.35
Rev: server/modules/icecast/dir_playlist.pike:1.5
Rev: server/modules/icecast/icecast.pike:1.10
Rev: server/modules/icecast/pl_common.pike:1.8
Rev: server/modules/ldap/ldaptag.pike:2.31
Rev: server/modules/ldap/userdb_ldap.pike:1.13
Rev: server/modules/logging/client_logger.pike:1.16
Rev: server/modules/logging/home_logger.pike:1.32
Rev: server/modules/logging/nologging.pike:1.15
Rev: server/modules/logging/roxen_network.pike:1.13
Rev: server/modules/misc/contenttypes.pike:1.24
Rev: server/modules/misc/demo.pike:1.21
Rev: server/modules/misc/implicit_use.pike:1.7
Rev: server/modules/misc/ismap.pike:1.20
Rev: server/modules/misc/language2.pike:1.22
Rev: server/modules/misc/pathinfo.pike:1.19
Rev: server/modules/misc/preferred_language.pike:1.27
Rev: server/modules/misc/randomtext.pike:1.8
Rev: server/modules/misc/robots.txt.pike:1.4
Rev: server/modules/misc/wapadapter.pike:1.12
Rev: server/modules/proxies/connect.pike:1.19
Rev: server/modules/proxies/ftpgateway.pike:1.41
Rev: server/modules/proxies/gopher.pike:1.27
Rev: server/modules/proxies/proxy.pike:1.55
Rev: server/modules/proxies/relay2.pike:1.33
Rev: server/modules/proxies/wais.pike:1.26
Rev: server/modules/scripting/cgi.pike:2.62
Rev: server/modules/scripting/fastcgi.pike:2.12
Rev: server/modules/scripting/fpscript.pike:1.14
Rev: server/modules/scripting/perl.pike:2.25
Rev: server/modules/scripting/pikescript.pike:1.73
Rev: server/modules/scripting/piketag.pike:2.37
Rev: server/modules/scripting/servlet.pike:2.23
Rev: server/modules/scripting/webapp.pike:2.31
Rev: server/modules/security/auth_httpbasic.pike:1.10
Rev: server/modules/security/auth_httpcookie.pike:1.11
Rev: server/modules/security/htaccess.pike:1.104
Rev: server/modules/security/userdb_system.pike:1.11
Rev: server/modules/tags/accessed.pike:1.54
Rev: server/modules/tags/additional_rxml.pike:1.23
Rev: server/modules/tags/awizard.pike:1.27
Rev: server/modules/tags/check_spelling.pike:1.19
Rev: server/modules/tags/countdown.pike:1.52
Rev: server/modules/tags/diremit.pike:1.18
Rev: server/modules/tags/email.pike:1.28
Rev: server/modules/tags/emit_timerange.pike:1.14
Rev: server/modules/tags/foldlist.pike:1.36
Rev: server/modules/tags/html_wash.pike:1.27
Rev: server/modules/tags/indirect_href.pike:1.34
Rev: server/modules/tags/javascript_support/javascript_support.pike:1.59
Rev: server/modules/tags/javascript_support/scripts/CrossPlatform.js:1.19
Rev: server/modules/tags/javascript_support/scripts/DragDrop.js:1.4
Rev: server/modules/tags/javascript_support/scripts/DynamicLoading.js:1.19
Rev: server/modules/tags/javascript_support/scripts/Popup.js:1.22
Rev: server/modules/tags/javascript_support/scripts/Scroll.js:1.5
Rev: server/modules/tags/killframe.pike:1.36
Rev: server/modules/tags/obox.pike:1.40
Rev: server/modules/tags/rxmlparse.pike:1.72
Rev: server/modules/tags/sed.pike:1.14
Rev: server/modules/tags/session_tag.pike:1.20
Rev: server/modules/tags/sizer.pike:1.24
Rev: server/modules/tags/ssi.pike:1.45
Rev: server/modules/tags/tablify.pike:1.76
Rev: server/modules/tags/translation_mod.pike:1.14
Rev: server/modules/tags/vform.pike:1.47
Rev: server/modules/tags/wizard_tag.pike:1.33
Rev: server/modules/tags/wizz.pike:1.9
Rev: server/modules/throttling/baseline_throttling.pike:1.8
Rev: server/modules/throttling/throttlelib.pike:1.14
Rev: server/modules/throttling/throttletags.pike:1.15
Rev: server/modules/throttling/throttling_byaddress.pike:1.5
Rev: server/modules/throttling/throttling_byhostname.pike:1.3
Rev: server/modules/throttling/throttling_bytime.pike:1.7
Rev: server/modules/throttling/throttling_bytype.pike:1.10
Rev: server/modules/throttling/throttling_byuser.pike:1.4
Rev: server/more_modules/tagdoc_notation.pike:2.3
Rev: server/protocols/ftp.pike:2.102
Rev: server/protocols/http.pike:1.459
Rev: server/protocols/prot_ftp.pike:2.4
Rev: server/protocols/prot_ftps.pike:2.5
Rev: server/protocols/prot_hilfe.pike:2.11
Rev: server/protocols/prot_http.pike:2.6
Rev: server/protocols/prot_https.pike:2.7
Rev: server/protocols/prot_tetris.pike:2.5
Rev: server/tools/ntroxen/startdll/startdll.rc:1.4
Rev: server/tools/ntroxen/version.h:1.22

2004-06-21

2004-06-21 16:27:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported fix for [bug 3737] from Roxen 4.0.

Rev: server/protocols/http.pike:1.414

2004-06-21 13:58:25 by 0

Don't make paths absolute since it makes most source file references in
backtraces inaccessible after the fix for [bug 3737].

Rev: server/protocols/http.pike:1.458

2004-06-21 13:04:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for [bug 3737].

Rev: server/protocols/http.pike:1.457

2004-06-21 08:11:11 by 0

Avoid Mozilla scrollbar for tables with 100% height.

Rev: server/base_server/configuration.pike:1.581
Rev: server/protocols/http.pike:1.456

2004-06-21 08:06:06 by 0

Fewer columns.

Rev: server/protocols/http.pike:1.455

2004-06-20

2004-06-20 23:45:33 by 0

Removed weird bold parentheses in backtraces.

Rev: server/protocols/http.pike:1.454

2004-06-20 23:32:34 by 0

Updated Internal Server Error pages to new look.

Rev: server/protocols/http.pike:1.453

2004-06-02

2004-06-02 12:57:25 by Martin Stjernholm <mast@lysator.liu.se>

Clarified a comment.

Rev: server/protocols/http.pike:1.413

2004-06-02 12:56:03 by Martin Stjernholm <mast@lysator.liu.se>

Reverted 1.404 since it can cause the backend thread to hang.

Rev: server/protocols/http.pike:1.412

2004-05-26

2004-05-26 17:33:54 by Martin Stjernholm <mast@lysator.liu.se>

Fixed path normalization of the destination header, just like
low_get_file does in configuration.pike.

Rev: server/protocols/http.pike:1.452

2004-05-26 15:51:37 by Martin Stjernholm <mast@lysator.liu.se>

Decode the path in misc["new-uri"].

Rev: server/protocols/http.pike:1.451

2004-05-25

2004-05-25 18:59:06 by Martin Stjernholm <mast@lysator.liu.se>

Activate the cache key in the protocol cache. Some debug stuff got
moved to RequestID in prototypes.pike.

Rev: server/protocols/http.pike:1.450

2004-05-19

2004-05-19 13:05:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The profile_map times are now plain microseconds.

Rev: server/protocols/http.pike:1.449

2004-05-18

2004-05-18 18:24:12 by Martin Stjernholm <mast@lysator.liu.se>

Moved CacheKey to prototypes.pike to avoid parent pointers to request
objects.

Rev: server/base_server/prototypes.pike:1.134
Rev: server/protocols/http.pike:1.448

2004-05-18 15:40:30 by Martin Stjernholm <mast@lysator.liu.se>

Disabled set_blocking before close in ssl mode again.

Rev: server/protocols/http.pike:1.447

2004-05-18 09:12:14 by Anders Johansson <anders@roxen.com>

Better RFC compliance regarding If-None-Match and If-Modified-Since.

Rev: server/protocols/http.pike:1.446

2004-05-13

2004-05-13 17:49:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Make sure the request_headers mapping is a copy in the cloned request.

Rev: server/protocols/http.pike:1.445

2004-05-12

2004-05-12 15:56:34 by Martin Stjernholm <mast@lysator.liu.se>

Some fiddling with the CONNECTION_DEBUG messages.

Rev: server/protocols/http.pike:1.444

2004-05-08

2004-05-08 14:41:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some minor typos.

Rev: server/protocols/http.pike:1.443

2004-05-07

2004-05-07 17:35:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved support for the connection header.
Litmus doesn't like getting any data in a 204 (No Content).

Rev: server/protocols/http.pike:1.442

2004-05-07 11:53:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now uses Parser.XML.Tree.SimpleNode in preference to Parser.XML.Tree.Node.

Rev: server/base_server/prototypes.pike:1.109
Rev: server/etc/modules/PropertySet.pike:1.10
Rev: server/modules/misc/webdav.pike:1.20
Rev: server/protocols/http.pike:1.441

2004-05-06

2004-05-06 15:22:50 by Martin Stjernholm <mast@lysator.liu.se>

Backed out some of the last optimizations that didn't have any significant
effect and that might cause problems in other parts of the code.

Rev: server/base_server/prototypes.pike:1.107
Rev: server/protocols/http.pike:1.440

2004-05-06 13:59:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now initializes cache_status here.

Rev: server/protocols/http.pike:1.439

2004-05-05

2004-05-05 21:26:14 by Martin Stjernholm <mast@lysator.liu.se>

Handle newfangled MultiStatus responses.

Rev: server/protocols/http.pike:1.438

2004-05-05 16:56:56 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem that caused the RoxenConfig cookie to be overwritten when the client do not support cookies. This happened when trying to specify the cookie in Roxen Search to force a specific language during crawling.

Rev: server/protocols/http.pike:1.437

2004-05-05 16:56:38 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem that caused the RoxenConfig cookie to be overwritten when the client do not support cookies. This happened when trying to specify the cookie in Roxen Search to force a specific language during crawling.

Rev: server/protocols/http.pike:1.411

2004-04-27

2004-04-27 16:50:01 by Martin Stjernholm <mast@lysator.liu.se>

Some tinkering with the CONNECTION_DEBUG stuff.

Rev: server/protocols/http.pike:1.436

2004-04-27 15:32:16 by Martin Stjernholm <mast@lysator.liu.se>

Added CONNECTION_DEBUG which only prints the complete requests and
complete responses.

Rev: server/protocols/http.pike:1.435

2004-04-25

2004-04-25 15:49:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor fix in generate_bugreport().

Rev: server/protocols/http.pike:1.434

2004-04-21

2004-04-21 11:10:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now looks at the destination header.

Rev: server/protocols/http.pike:1.433

2004-04-20

2004-04-20 21:01:03 by Martin Stjernholm <mast@lysator.liu.se>

Moved some more response mapping handling from the protocol module to
RequestID.make_response_headers.

Rev: server/protocols/http.pike:1.432

2004-04-20 12:36:02 by Stephen R. van den Berg <srb@cuci.nl>

Applied fixes for [bug 3640] "Patch for null-pointer dereferences when using default servers".
Thanks to <srb@cuci.nl>.

Rev: server/protocols/http.pike:1.431

2004-04-14

2004-04-14 20:03:48 by Martin Stjernholm <mast@lysator.liu.se>

Must use set_blocking before close with the old sslfile
implementation. Fixed ssl bug for responses over 16 kb in Safari.

Rev: server/protocols/http.pike:1.430

2004-04-14 14:24:51 by Martin Stjernholm <mast@lysator.liu.se>

Minor fix in handling of the content type in a response mapping.

Rev: server/base_server/prototypes.pike:1.83
Rev: server/protocols/http.pike:1.429

2004-04-13

2004-04-13 18:33:40 by Martin Stjernholm <mast@lysator.liu.se>

Corrected bugs in calculation of the content length in the last
check-in. Some other minor changes.

Rev: server/protocols/http.pike:1.428

2004-04-13 16:51:05 by Martin Stjernholm <mast@lysator.liu.se>

Moved (most of) the response header generation from http.pike to RequestID.
Fixed lookups in the Roxen module from prototypes.pike.

Rev: server/base_server/prototypes.pike:1.80
Rev: server/base_server/roxenloader.pike:1.351
Rev: server/protocols/ftp.pike:2.93
Rev: server/protocols/http.pike:1.427

2004-04-13 16:02:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some support for the If-None-Match header.
Moved around some code from the HTTP/0.9 case.

Rev: server/protocols/http.pike:1.426

2004-04-13 09:54:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved Last-Modified behaviour.
Added some support for etags.
Rewrote make_http_headers() fallback loop to use iterators.

Rev: server/protocols/http.pike:1.425

2004-03-09

2004-03-09 16:18:41 by Stephen R. van den Berg <srb@cuci.nl>

Applied patch for [bug 3615] by Stephen R. van den Berg <srb@cuci.nl>. Thanks.

Rev: server/protocols/http.pike:1.424

2004-03-03

2004-03-03 16:28:55 by Martin Stjernholm <mast@lysator.liu.se>

Return the rettext field as html in the body for error responses
without a body.

Rev: server/protocols/http.pike:1.423

2004-03-03 15:37:46 by Martin Stjernholm <mast@lysator.liu.se>

Fold lines in file->rettext to allow linefeed formatting in other
situations.

Rev: server/protocols/http.pike:1.422

2004-02-20

2004-02-20 17:25:36 by Martin Stjernholm <mast@lysator.liu.se>

Avoid premature destruct of sslfile objects when the connections are
closed from the client side. The end function is no longer called from
callbacks.

Rev: server/protocols/http.pike:1.421

2004-02-03

2004-02-03 10:20:10 by Anders Johansson <anders@roxen.com>

Improved debug message.

Rev: server/protocols/http.pike:1.420

2004-01-19

2004-01-19 16:27:13 by Martin Stjernholm <mast@lysator.liu.se>

Fixed unsafe macro expansion causing 404:s everywhere in the last checkin.
Grmbl.

Rev: server/protocols/http.pike:1.419

2004-01-19 16:27:12 by Martin Stjernholm <mast@lysator.liu.se>

Fixed unsafe macro expansion causing 404:s everywhere in the last checkin.
Grmbl.

Rev: server/protocols/http.pike:1.410

2004-01-19 16:27:09 by Martin Stjernholm <mast@lysator.liu.se>

Fixed unsafe macro expansion causing 404:s everywhere in the last checkin.
Grmbl.

Rev: server/protocols/http.pike:1.397

2004-01-19 15:54:48 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where internal server errors got reported as 404 responses.

Rev: server/protocols/http.pike:1.418

2004-01-19 15:54:46 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where internal server errors got reported as 404 responses.

Rev: server/protocols/http.pike:1.409

2004-01-19 15:54:43 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bug where internal server errors got reported as 404 responses.

Rev: server/protocols/http.pike:1.396

2003-12-29

2003-12-29 11:22:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in ready_to_receive().
Now complies with limus http test.

Rev: server/protocols/http.pike:1.417

2003-11-25

2003-11-25 16:03:51 by Anders Johansson <anders@roxen.com>

Set 'Expires' header for requests where mics->cacheable has been raised.

Rev: server/protocols/http.pike:1.416

2003-11-25 16:02:01 by Anders Johansson <anders@roxen.com>

Added DEBUG_CACHEABLE messages.

Rev: server/protocols/http.pike:1.415

2003-11-17

2003-11-17 18:00:15 by Martin Stjernholm <mast@lysator.liu.se>

Can't do anything after set_nonblocking when it isn't called from the
backend thread.

Rev: server/protocols/http.pike:1.408

2003-11-17 17:38:26 by Martin Stjernholm <mast@lysator.liu.se>

Can't do anything after set_nonblocking when it isn't called from the
backend thread.

Cleaned up some misguided fd shutdown code. Blocking/threading issues
should be solved correctly now instead.

Rev: server/protocols/http.pike:1.414

2003-11-04

2003-11-04 17:18:36 by Martin Stjernholm <mast@lysator.liu.se>

Fixed the kludge for the new SSL.sslfile.

Rev: server/protocols/http.pike:1.413

2003-11-03

2003-11-03 23:02:13 by Martin Stjernholm <mast@lysator.liu.se>

Added kludge for compatibility with the new SSL.sslfile in 7.5.12.

Rev: server/protocols/http.pike:1.412

2003-11-03 13:52:37 by Martin Stjernholm <mast@lysator.liu.se>

Added some extra sanity checks on threads and callbacks in debug mode.
roxen.handle exists even when threads aren't used.

Rev: server/protocols/http.pike:1.411

2003-11-03 13:49:20 by Martin Stjernholm <mast@lysator.liu.se>

Can't use cached time for keep-alive in chain() since it's executed after
the request and can therefore be very inaccurate.

Rev: server/protocols/http.pike:1.395

2003-11-03 13:49:19 by Martin Stjernholm <mast@lysator.liu.se>

Can't use cached time for keep-alive in chain() since it's executed after
the request and can therefore be very inaccurate.

Rev: server/protocols/http.pike:1.410

2003-11-03 13:49:16 by Martin Stjernholm <mast@lysator.liu.se>

Can't use cached time for keep-alive in chain() since it's executed after
the request and can therefore be very inaccurate.

Rev: server/protocols/http.pike:1.407

2003-11-03 13:41:58 by Martin Stjernholm <mast@lysator.liu.se>

Fixed HTTP_BLOCKING_SIZE_THRESHOLD in forgotten places.

Rev: server/protocols/http.pike:1.409

2003-11-03 13:41:54 by Martin Stjernholm <mast@lysator.liu.se>

Fixed HTTP_BLOCKING_SIZE_THRESHOLD in forgotten places.

Rev: server/protocols/http.pike:1.406

2003-11-03 13:38:18 by Martin Stjernholm <mast@lysator.liu.se>

Fixed race when the handler thread has "taken over" the connection.

Rev: server/protocols/http.pike:1.394

2003-11-03 13:23:30 by Martin Stjernholm <mast@lysator.liu.se>

Better fix for race when the handler thread has "taken over" the connection.

Rev: server/protocols/http.pike:1.408

2003-11-03 13:23:27 by Martin Stjernholm <mast@lysator.liu.se>

Better fix for race when the handler thread has "taken over" the connection.

Rev: server/protocols/http.pike:1.405

2003-10-28

2003-10-28 22:31:24 by Martin Stjernholm <mast@lysator.liu.se>

Disabled kludge to avoid blocking close on SSL connections since it causes
premature close on NT. This could possible make [bug 2546] resurface, but
otoh several other bugs in the SSL protocol have been fixed since then.

Rev: server/protocols/http.pike:1.407

2003-10-28 22:31:20 by Martin Stjernholm <mast@lysator.liu.se>

Disabled kludge to avoid blocking close on SSL connections since it causes
premature close on NT. This could possible make [bug 2546] resurface, but
otoh several other bugs in the SSL protocol have been fixed since then.

Rev: server/protocols/http.pike:1.404

2003-10-28 21:24:44 by Martin Stjernholm <mast@lysator.liu.se>

Remove the accept callback for ssl connection so that the fd leaves callback
mode before handing it over to the handler thread.

Fixed a couple of those hideous catches to at least write backtraces in the
debug log when running in debug mode.

Rev: server/protocols/http.pike:1.406

2003-10-28 21:24:42 by Martin Stjernholm <mast@lysator.liu.se>

Remove the accept callback for ssl connection so that the fd leaves callback
mode before handing it over to the handler thread.

Fixed a couple of those hideous catches to at least write backtraces in the
debug log when running in debug mode.

Rev: server/protocols/http.pike:1.403

2003-10-28 21:24:39 by Martin Stjernholm <mast@lysator.liu.se>

Remove the accept callback for ssl connection so that the fd leaves callback
mode before handing it over to the handler thread.

Fixed a couple of those hideous catches to at least write backtraces in the
debug log when running in debug mode.

Rev: server/protocols/http.pike:1.393

2003-09-17

2003-09-17 10:53:20 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved RFC 2518 (WEBDAV) support to a separate module.

Rev: server/base_server/configuration.pike:1.540
Rev: server/modules/misc/webdav.pike:1.1
Rev: server/protocols/http.pike:1.405

2003-07-16

2003-07-16 14:52:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug in handling of OPTIONS.

Rev: server/protocols/http.pike:1.404

2003-07-09

2003-07-09 10:02:29 by Marcus Wellhardh <wellhard@roxen.com>

Handle case where conf->handle_result() has called send_result() gracefully.

Rev: server/protocols/http.pike:1.403

2003-07-09 09:55:46 by Marcus Wellhardh <wellhard@roxen.com>

Handle case where conf->handle_result() has called send_result() gracefully.

Rev: server/protocols/http.pike:1.402

2003-06-18

2003-06-18 11:51:30 by Tomas Nilsson <tomas@roxen.com>

Added support for connection local data in RequestID->connection_misc
mapping.

Rev: server/base_server/prototypes.pike:1.63
Rev: server/protocols/http.pike:1.402

2003-06-18 11:40:38 by Tomas Nilsson <tomas@roxen.com>

Added support for connection local data in RequestID->connection_misc
mapping.

Rev: server/base_server/prototypes.pike:1.60
Rev: server/protocols/http.pike:1.401

2003-06-16

2003-06-16 12:39:28 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some support for OPTIONS as defined by HTTP/1.1 and RFC 2518.

Rev: server/protocols/http.pike:1.401

2003-04-22

2003-04-22 13:48:53 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now supports running on Pike 7.2 and 7.4 again.

Rev: server/base_server/prototypes.pike:1.59
Rev: server/protocols/http.pike:1.400

2003-04-22 08:08:51 by Dan Nelson <dnelson@emsphone.com>

Improved memory footprint for uploaded data. Thanks to Dan Nelson <dnelson@allantgroup.com>.
Improved granularity of TIMER stuff.
Added clearing of xml_data. FIXME: Should this be moved to prototypes.pike?

Rev: server/protocols/http.pike:1.399

2003-04-14

2003-04-14 16:44:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug triggered by the proxy module.

Rev: server/protocols/http.pike:1.398

2003-03-31

2003-03-31 13:47:19 by Martin Stjernholm <mast@lysator.liu.se>

Added some more info with REQUEST_DEBUG.

Rev: server/protocols/http.pike:1.397

2003-03-20

2003-03-20 15:36:27 by 0

Don't flag a request as decoded until it's actually performed (i.e. a valid
charset decoder is found).

Rev: server/protocols/http.pike:1.396

2003-02-25

2003-02-25 16:11:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

-DTIMERS now works again.

Rev: server/protocols/http.pike:1.395

2003-02-18

2003-02-18 10:34:16 by Marcus Wellhardh <wellhard@roxen.com>

Ported from 3.3: Set last_modified to now if cachability is lowered. Fixed IE overcache problem [

Rev: server/protocols/http.pike:1.394

2003-02-17

2003-02-17 16:36:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Blocking I/O fix.

Rev: server/protocols/http.pike:1.393

2003-02-17 16:36:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Blocking I/O fix.

Rev: server/protocols/http.pike:1.392

2003-02-17 16:36:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Blocking I/O fix.

Rev: server/protocols/http.pike:1.375

2003-02-17 16:36:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Blocking I/O fix.

Rev: server/protocols/http.pike:1.357

2003-02-17 15:55:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Backported nonblocking I/O fix from Roxen 3.4.

Rev: server/protocols/http.pike:1.391

2003-02-17 15:54:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for some blocking I/O problems.

Rev: server/protocols/http.pike:1.392

2003-02-14

2003-02-14 17:26:52 by Marcus Wellhardh <wellhard@roxen.com>

Set last_modified to now if cachability is lowered. Fixed IE overcache problem [roxen.com #2241].

Rev: server/protocols/http.pike:1.390

2003-02-05

2003-02-05 16:25:41 by 0

Moved charset handling code from the HTTP protocol module into the common
RequestID object so that e.g. FTP requests can benefit from it.

Rev: server/base_server/prototypes.pike:1.55
Rev: server/protocols/http.pike:1.391

2003-02-03

2003-02-03 14:54:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

More paranoid use of blocking I/O.
Added support of config.h parameter HTTP_BLOCKING_SIZE_THRESHOLD.

Rev: server/protocols/http.pike:1.390

2003-01-07

2003-01-07 13:37:38 by Anders Johansson <anders@roxen.com>

Use the new no_proto_cache in one more, quite important, place.

Rev: server/protocols/http.pike:1.389

2002-12-18

2002-12-18 15:04:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reenabled parts of REQUEST_DEBUG.
Changed lots of places that set misc->cacheable to zero to set misc->no_proto_cache instead.
Added some more REQUEST_DEBUG.

Rev: server/protocols/http.pike:1.388

2002-12-11

2002-12-11 21:13:21 by Anders Johansson <anders@roxen.com>

Type fixes to compile on Pike 7.4.

Rev: server/modules/configuration/config_tags.pike:1.177
Rev: server/protocols/http.pike:1.387

2002-11-27

2002-11-27 16:41:51 by Anders Johansson <anders@roxen.com>

Init misc->cacheable for HEAD requests to get correct expire header for such requests.

Rev: server/protocols/http.pike:1.356

2002-11-27 12:46:41 by Anders Johansson <anders@roxen.com>

Init misc->cacheable for HEAD requests to get correct expire header for such requests.

Rev: server/protocols/http.pike:1.386

2002-11-18

2002-11-18 18:05:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some extra padding to data_buffer.

Rev: server/protocols/http.pike:1.385

2002-11-18 17:46:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for [bug 3305].

Rev: server/protocols/http.pike:1.384

2002-11-01

2002-11-01 12:57:05 by Anders Johansson <anders@roxen.com>

Don't return "Not Modified" (304) if misc->cacheable has been lowered.
This prevents always sending 304 answers to a browser supplying a
if-modified-since header when the page is expected to expire due to
some dynamic RXML. However, if the expire time isn't lowered below
INITIAL_CACHEABLE (5 min) the browser will still get 304 answers
forever (or until the page really is modified).

Rev: server/protocols/http.pike:1.383

2002-11-01 10:48:16 by Anders Johansson <anders@roxen.com>

Set expire time to 1970 if misc->cacheable is 0. This avoids problem with immediate expiration and clock skew between server and client for borwsers using HTTP/1.0.

Rev: server/protocols/http.pike:1.382

2002-10-30

2002-10-30 17:20:17 by 0

Apply output encoding to wide strings regardless of content type. This
should solve a CMS problem where the content type is forced to a unregistered
value in order to avoid browsers peeking at the data.

Rev: server/protocols/http.pike:1.381

2002-10-25

2002-10-25 18:19:40 by Martin Stjernholm <mast@lysator.liu.se>

Made sure id->misc->pref_languages always exists, so that we can do language
stuff without hassle also in internal requests etc. (Even the
preferred_language module itself assumes that it always exists, which caused
trouble in e.g. the resolve path wizard.) <opinion>PrefLanguages should have
been integrated into RequestID from the beginning.</opinion>

Rev: server/base_server/prototypes.pike:1.53
Rev: server/base_server/roxen.pike:1.810
Rev: server/base_server/roxenloader.pike:1.328
Rev: server/protocols/ftp.pike:2.83
Rev: server/protocols/http.pike:1.380

2002-10-14

2002-10-14 09:08:02 by 0

Hopefully fix problem where id->misc->cachekey was unnecessarily destroyed.
(Backported from 3.3.)

Rev: server/base_server/roxen.pike:1.787
Rev: server/protocols/http.pike:1.355

2002-10-14 09:04:28 by 0

Hopefully fix problem where id->misc->cachekey was unnecessarily destroyed.
(Backported from 3.3.)

Rev: server/base_server/roxen.pike:1.801
Rev: server/protocols/http.pike:1.374

2002-10-11

2002-10-11 14:36:00 by 0

Hopefully fix problem where id->misc->cachekey was unnecessarily destroyed.

Rev: server/base_server/roxen.pike:1.807
Rev: server/protocols/http.pike:1.379

2002-10-08

2002-10-08 16:37:37 by 0

Unset misc->last_modified should not generate 304 answers.

Rev: server/protocols/http.pike:1.378

2002-10-08 16:29:11 by Anders Johansson <anders@roxen.com>

Only return 304 for requests that is otherwise OK.

Rev: server/protocols/http.pike:1.377

2002-10-07

2002-10-07 12:23:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved behaviour for the Expiry and Last-Modified headers.

Rev: server/protocols/http.pike:1.376

2002-09-20

2002-09-20 16:03:07 by 0

Clone request_headers too, but this code really ought to reuse clone_me()
in prototypes.pike instead.

Rev: server/protocols/http.pike:1.375

2002-09-03

2002-09-03 15:51:25 by Martin Stjernholm <mast@lysator.liu.se>

Moved some support stuff (output_charset, input_charset, set_output_charset,
adjust_for_config_path) from protocols/http.pike to the RequestID class, so
that we'll get them in InternalRequestID too. Also fixed som trivial bugs in
http.pike.

Rev: server/base_server/prototypes.pike:1.52
Rev: server/protocols/http.pike:1.374

2002-07-12

2002-07-12 11:34:25 by Anders Johansson <anders@roxen.com>

Backported 'some changes' from 2.4. Different handling of last-modified and expires headers.

Rev: server/protocols/http.pike:1.354

2002-07-10

2002-07-10 13:57:36 by Anders Johansson <anders@roxen.com>

Reset connection timeout when the client sends some data and we're waiting for more. This prevents big file uploads from being cut of after 90 seconds.

Rev: server/protocols/http.pike:1.373

2002-07-10 13:57:35 by Anders Johansson <anders@roxen.com>

Reset connection timeout when the client sends some data and we're waiting for more. This prevents big file uploads from being cut of after 90 seconds.

Rev: server/protocols/http.pike:1.353

2002-07-03

2002-07-03 15:28:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some auth information to the internal error backtrace code.

Rev: server/protocols/http.pike:1.372

2002-07-02

2002-07-02 12:15:35 by Anders Johansson <anders@roxen.com>

Avoid error if the error variable is bogus.

Rev: server/protocols/http.pike:1.352

2002-07-02 12:15:34 by Anders Johansson <anders@roxen.com>

Avoid error if the error variable is bogus.

Rev: server/protocols/http.pike:1.300

2002-07-02 12:15:33 by Anders Johansson <anders@roxen.com>

Avoid error if the error variable is bogus.

Rev: server/protocols/http.pike:1.371

2002-06-27

2002-06-27 12:48:50 by Anders Johansson <anders@roxen.com>

Avoid returning '304 Not modified' if misc->cacheable is set to 0.

Rev: server/protocols/http.pike:1.370

2002-06-14

2002-06-14 00:38:18 by Martin Nilsson <mani@lysator.liu.se>

Fixes for the new plugins directory.

Rev: server/arg_cache_plugins/replicate.pike:1.15(DEAD)
Rev: server/base_server/fonts.pike:1.83
Rev: server/base_server/roxen.pike:1.805
Rev: server/base_server/roxenloader.pike:1.333
Rev: server/font_handlers/builtin.pike:1.13(DEAD)
Rev: server/font_handlers/compactimgfile.pike:1.5(DEAD)
Rev: server/font_handlers/freetype.pike:1.17(DEAD)
Rev: server/font_handlers/imagedir.pike:1.12(DEAD)
Rev: server/font_handlers/imagetar.pike:1.7(DEAD)
Rev: server/font_handlers/old.pike:1.11(DEAD)
Rev: server/font_handlers/ttf.pike:1.13(DEAD)
Rev: server/plugins/arg_cache/replicate.pike:1.15
Rev: server/plugins/font_handlers/builtin.pike:1.13
Rev: server/plugins/font_handlers/compactimgfile.pike:1.5
Rev: server/plugins/font_handlers/freetype.pike:1.17
Rev: server/plugins/font_handlers/imagedir.pike:1.12
Rev: server/plugins/font_handlers/imagetar.pike:1.7
Rev: server/plugins/font_handlers/old.pike:1.11
Rev: server/plugins/font_handlers/ttf.pike:1.13
Rev: server/plugins/protocols/ftp.pike:2.80
Rev: server/plugins/protocols/http.pike:1.370
Rev: server/plugins/protocols/prot_ftp.pike:2.3
Rev: server/plugins/protocols/prot_ftps.pike:2.4
Rev: server/plugins/protocols/prot_hilfe.pike:2.13
Rev: server/plugins/protocols/prot_http.pike:2.5
Rev: server/plugins/protocols/prot_https.pike:2.4
Rev: server/plugins/protocols/prot_tetris.pike:2.4
Rev: server/plugins/protocols/tetris.pike:1.9
Rev: server/protocols/ftp.pike:2.80(DEAD)
Rev: server/protocols/http.pike:1.370(DEAD)
Rev: server/protocols/prot_ftp.pike:2.3(DEAD)
Rev: server/protocols/prot_ftps.pike:2.4(DEAD)
Rev: server/protocols/prot_hilfe.pike:2.13(DEAD)
Rev: server/protocols/prot_http.pike:2.5(DEAD)
Rev: server/protocols/prot_https.pike:2.4(DEAD)
Rev: server/protocols/prot_tetris.pike:2.4(DEAD)
Rev: server/protocols/tetris.pike:1.9(DEAD)

2002-06-03

2002-06-03 21:43:10 by Martin Nilsson <mani@lysator.liu.se>

Fixed two type-redefinitions.

Rev: server/modules/configuration/config_tags.pike:1.176
Rev: server/protocols/http.pike:1.370

2002-05-03

2002-05-03 19:58:58 by Per Hedbor <ph@opera.com>

Some changes

Rev: server/protocols/http.pike:1.369

2002-04-19

2002-04-19 14:30:14 by Stefan Wallström <stewa@roxen.com>

Make the content-type available as form.filevariable..mimetype if present when uploading files.

Rev: server/protocols/http.pike:1.368

2002-04-05

2002-04-05 14:35:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved debug.
_sprintf() now reports the raw url.

Rev: server/protocols/http.pike:1.367

2002-04-05 14:29:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix of [bug 2956].

Rev: server/protocols/http.pike:1.366

2002-03-28

2002-03-28 03:08:28 by Per Hedbor <ph@opera.com>

Added check for !catch(my_fd->query_address()) when deciding whether or not my_fd is closed. Otherwise it will not detect closing the fd from modules and similar (at least not in end(). It will most likely be detected later on, though).

Rev: server/protocols/http.pike:1.365

2002-03-27

2002-03-27 17:49:34 by Per Hedbor <ph@opera.com>

Added support for getting a list of all currently active connections. The latter is mostly useful when running with throttling, otherwise the extended information for the connections (sent Mb, sent kbit) is not available.

Rev: server/base_server/slowpipe.pike:1.12
Rev: server/config_interface/actions/connections.pike:1.1
Rev: server/protocols/http.pike:1.364

2002-03-27 09:54:27 by Anders Johansson <anders@roxen.com>

Ported fix of lowercased Content-type from 2.2.

Rev: server/protocols/http.pike:1.299

2002-03-27 09:54:27 by Anders Johansson <anders@roxen.com>

Ported fix of lowercased Content-type from 2.2.

Rev: server/protocols/http.pike:1.363

2002-03-27 00:11:57 by Marcus Comstedt <marcus@mc.pp.se>

Don't lowercase Content-type, it messes up the parameters (like boundary).

Rev: server/protocols/http.pike:1.351

2002-03-22

2002-03-22 12:30:20 by Ian Delahorne <ian@roxen.com>

Applied patch similar to the one in [bug 2878].
Fixes [bug 2878].

Rev: server/base_server/roxen.pike:1.777
Rev: server/protocols/http.pike:1.350

2002-03-22 12:30:20 by Ian Delahorne <ian@roxen.com>

Applied patch similar to the one in [bug 2878].
Fixes [bug 2878].

Rev: server/base_server/roxen.pike:1.784
Rev: server/protocols/http.pike:1.362

2002-03-20

2002-03-20 18:45:55 by Per Hedbor <ph@opera.com>

Do not do the minimum_byterate call_out for files with unknown length

Rev: server/protocols/http.pike:1.361

2002-02-26

2002-02-26 19:04:36 by Martin Stjernholm <mast@lysator.liu.se>

Cleaned up the REQUEST_DEBUG and FD_DEBUG messages somewhat.

Rev: server/protocols/http.pike:1.360

2002-02-14

2002-02-14 10:01:25 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved diagnostics for bad multipart/form-data.

Rev: server/protocols/http.pike:1.359

2002-02-06

2002-02-06 17:59:33 by Martin Stjernholm <mast@lysator.liu.se>

Added inherit of RequestID. Besides being reasonable, it's needed to
get the implementations of add_response_header and
set_response_header. Removed the definitions for a bunch of variables
that are inherited now.

Rev: server/protocols/http.pike:1.358

2002-02-06 17:04:52 by Martin Stjernholm <mast@lysator.liu.se>

Moved the definitions for add_response_header and set_response_header from
http.pike to prototypes.pike, even though some convoluted solutions are
necessary to make them compile there. Should fix problems with these
functions in other RequestID implementations.

Rev: server/base_server/prototypes.pike:1.48
Rev: server/protocols/http.pike:1.357

2002-02-04

2002-02-04 13:28:53 by Martin Stjernholm <mast@lysator.liu.se>

If there isn't a "stat" entry in the response mapping then try to take
it from misc->stat also when the file data is a string.

Rev: server/protocols/http.pike:1.356

2002-01-30

2002-01-30 00:20:03 by Martin Stjernholm <mast@lysator.liu.se>

A little more efficiency in add_response_header and set_response_header.

Rev: server/protocols/http.pike:1.355

2002-01-29

2002-01-29 21:48:11 by Martin Stjernholm <mast@lysator.liu.se>

Added two functions add_response_header and set_response_header to the
request object, which does the right thing with the rxml p-code cache if
an rxml parse is running. These two should be used instead of
Roxen.add_http_header.

Rev: server/base_server/prototypes.pike:1.47
Rev: server/protocols/http.pike:1.354

2002-01-16

2002-01-16 15:38:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Propagate cache-control headers to the pragma multiset. (Opera support)

Rev: server/protocols/http.pike:1.353

2001-12-05

2001-12-05 13:53:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved handling of internal redirects. May fix [bug 1272].

Rev: server/modules/filters/redirect.pike:1.32
Rev: server/protocols/http.pike:1.352

2001-12-05 13:53:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved handling of internal redirects. May fix [bug 1272].

Rev: server/modules/filters/redirect.pike:1.32
Rev: server/protocols/http.pike:1.349

2001-12-04

2001-12-04 18:39:55 by Martin Stjernholm <mast@lysator.liu.se>

The cvs revision id stuff moved to roxenloader.pike.

Rev: server/protocols/http.pike:1.351

2001-11-27

2001-11-27 18:06:46 by Martin Stjernholm <mast@lysator.liu.se>

Reverted that; it's better to consider id->misc->common a legacy item. New
code should use id->root_id->misc.

Rev: server/base_server/configuration.pike:1.497
Rev: server/base_server/prototypes.pike:1.46
Rev: server/base_server/roxen.pike:1.766
Rev: server/protocols/http.pike:1.350

2001-11-27 17:56:24 by Martin Stjernholm <mast@lysator.liu.se>

Cleaned up the handling of id->misc->common; it now always exists.

Rev: server/base_server/configuration.pike:1.496
Rev: server/base_server/prototypes.pike:1.45
Rev: server/base_server/roxen.pike:1.765
Rev: server/protocols/http.pike:1.349

2001-11-21

2001-11-21 10:43:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.348

2001-11-21 10:43:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.348

2001-11-21 10:40:17 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2546].

Rev: server/protocols/http.pike:1.347

2001-11-21 10:40:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2546].

Rev: server/protocols/http.pike:1.347

2001-11-14

2001-11-14 10:28:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Comply with RFC 2068 5.1.2.
Fixes [bug 2058].

Rev: server/protocols/http.pike:1.346

2001-11-07

2001-11-07 09:53:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug related to [bug 2502].

Rev: server/protocols/http.pike:1.345

2001-11-05

2001-11-05 12:59:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 2481].

Rev: server/protocols/http.pike:1.344

2001-10-25

2001-10-25 13:58:47 by Anders Johansson <anders@roxen.com>

There was a local variable named time...

Rev: server/protocols/http.pike:1.343

2001-10-25 12:28:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved cacheability of plain file objects.

Rev: server/protocols/http.pike:1.342

2001-10-09

2001-10-09 12:26:44 by Marcus Wellhardh <wellhard@roxen.com>

Fixed problem with aconf and request threads. Fixed [Bug 2386].

Rev: server/protocols/http.pike:1.341

2001-10-09 11:29:05 by Marcus Wellhardh <wellhard@roxen.com>

Fixed \r\n problem with aconf redirect.

Rev: server/protocols/http.pike:1.340

2001-10-08

2001-10-08 06:08:36 by Per Hedbor <ph@opera.com>

It's not really a good idea to use different charsets for the file contents and it's headers.

Rev: server/protocols/http.pike:1.339

2001-10-02

2001-10-02 12:20:31 by Per Hedbor <ph@opera.com>

Some code could be simplified due to the fixes in _Roxen/roxen.c, reindented.

Rev: server/protocols/http.pike:1.338

2001-09-28

2001-09-28 21:01:42 by Martin Stjernholm <mast@lysator.liu.se>

Include mapping(string:mixed) in the type for id->variables, to avoid
breaking old pike code.

Rev: server/base_server/prototypes.pike:1.42
Rev: server/protocols/http.pike:1.337

2001-09-05

2001-09-05 17:54:30 by Marcus Comstedt <marcus@mc.pp.se>

Apply module reloc to backtraces.

Rev: server/protocols/http.pike:1.336

2001-08-31

2001-08-31 17:07:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for "Cannot access global variables in destructed object".

Rev: server/protocols/http.pike:1.335

2001-08-28

2001-08-28 21:36:01 by Martin Stjernholm <mast@lysator.liu.se>

Renamed the Debug module RoxenDebug to resolve name conflict with
Debug.pmod in Pike. Compatibility issue, but it shouldn't matter much since
it's barely used.

Rev: server/etc/modules/Debug.pmod:1.4(DEAD)
Rev: server/etc/modules/RXML.pmod/module.pmod:1.242
Rev: server/etc/modules/RoxenDebug.pmod:1.4
Rev: server/protocols/http.pike:1.334

2001-08-23

2001-08-23 13:29:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Support request content-length for more methods than POST.

Rev: server/protocols/http.pike:1.333

2001-08-23 05:33:44 by Martin Nilsson <mani@lysator.liu.se>

Updated copyright

Rev: server/protocols/ftp.pike:2.65
Rev: server/protocols/http.pike:1.332
Rev: server/protocols/prot_ftp.pike:2.3
Rev: server/protocols/prot_ftps.pike:2.4
Rev: server/protocols/prot_hilfe.pike:2.7
Rev: server/protocols/prot_http.pike:2.5
Rev: server/protocols/prot_https.pike:2.4
Rev: server/protocols/prot_tetris.pike:2.4

2001-08-22

2001-08-22 20:04:31 by Martin Stjernholm <mast@lysator.liu.se>

Added RequestID.cache_status and $cache-status log variable which can be used
to log the cache hit(s) for the requests.

Rev: server/base_server/configuration.pike:1.465
Rev: server/base_server/prototypes.pike:1.31
Rev: server/base_server/roxen.pike:1.709
Rev: server/protocols/http.pike:1.331

2001-08-21

2001-08-21 09:25:05 by 0

Make INITIAL_CACHEABLE accessible outside of protocols/http.pike.

Rev: server/etc/include/config.h:1.28
Rev: server/protocols/http.pike:1.330

2001-08-20

2001-08-20 11:46:47 by Per Hedbor <ph@opera.com>

Fixed a bug somewhat like the 2.1 ram cache bug

Rev: server/protocols/http.pike:1.329

2001-08-20 11:42:24 by Per Hedbor <ph@opera.com>

Fixed major bug in the ram cache code.

Rev: server/protocols/http.pike:1.298

2001-08-20 11:40:01 by Per Hedbor <ph@opera.com>

Fixed major bug in the ram cache code.

Rev: server/protocols/http.pike:1.297

2001-08-17

2001-08-17 19:40:53 by Martin Nilsson <mani@lysator.liu.se>

Bugfix the prevents the PrefLanguage object to reorder languages with the same priority that are set with set sorted. I can't imagine that this would have caused problem for anyone however...

Rev: server/protocols/http.pike:1.328

2001-08-15

2001-08-15 16:55:27 by Per Hedbor <ph@opera.com>

Removed some old commented code

Rev: server/protocols/http.pike:1.327

2001-08-13

2001-08-13 18:28:55 by Martin Stjernholm <mast@lysator.liu.se>

Fixed handling of the host header for clients (e.g. ApacheBench) that
doesn't send the port part.

Rev: server/protocols/http.pike:1.326

2001-08-09

2001-08-09 14:08:13 by 0

Added debug code for tracking CacheKey objects.

Rev: server/protocols/http.pike:1.325

2001-08-07

2001-08-07 01:05:55 by Per Hedbor <ph@opera.com>

Really close [bug 1502]

Rev: server/protocols/http.pike:1.296

2001-07-31

2001-07-31 10:36:45 by Per Hedbor <ph@opera.com>

Fixed [Bug 1778]

Rev: server/protocols/http.pike:1.324

2001-07-21

2001-07-21 12:01:44 by Martin Stjernholm <mast@lysator.liu.se>

Improvements to url_base().

Rev: server/base_server/prototypes.pike:1.26
Rev: server/protocols/http.pike:1.323

2001-07-21 10:13:31 by Martin Stjernholm <mast@lysator.liu.se>

Added and used Protocol.prot_name, since the name of the protocol object
isn't always the same as the name of the actual protocol.

Rev: server/base_server/prototypes.pike:1.24
Rev: server/protocols/http.pike:1.322
Rev: server/protocols/prot_fhttp.pike:2.2
Rev: server/protocols/prot_ftp.pike:2.2
Rev: server/protocols/prot_ftps.pike:2.3
Rev: server/protocols/prot_hilfe.pike:2.5
Rev: server/protocols/prot_http.pike:2.3
Rev: server/protocols/prot_https.pike:2.3
Rev: server/protocols/prot_tetris.pike:2.2

2001-07-21 09:10:02 by Martin Stjernholm <mast@lysator.liu.se>

Implemented RequestID.url_base, which should be used instead of
query("MyWorldLocation") since it handles shared ports and ports with
path prefixes correctly.

Rev: server/base_server/prototypes.pike:1.23
Rev: server/protocols/http.pike:1.321

2001-07-15

2001-07-15 23:59:48 by Martin Nilsson <mani@lysator.liu.se>

Added a root_id which always is the top request id object.

Rev: server/protocols/http.pike:1.320

2001-06-25

2001-06-25 17:46:51 by Martin Nilsson <mani@lysator.liu.se>

Make a better effort to parse strange protocol version strings.

Rev: server/protocols/http.pike:1.319

2001-06-22

2001-06-22 03:00:36 by Martin Nilsson <mani@lysator.liu.se>

Fixed a bug where the date header could have only a \n as delimiter, instead of \r\n

Rev: server/protocols/http.pike:1.318

2001-06-08

2001-06-08 20:13:07 by Martin Stjernholm <mast@lysator.liu.se>

Identify the backtrace arguments in the right order, to make the
internal server error backtraces easier to read.

Rev: server/protocols/http.pike:1.317

2001-06-07

2001-06-07 04:34:30 by Per Hedbor <ph@opera.com>

Fixed [Bug 1707], [Bug 1708] and [Bug 1603]

Rev: server/protocols/http.pike:1.295

2001-06-07 04:33:52 by Per Hedbor <ph@opera.com>

Fixed [Bug 1707], [Bug 1708] and [Bug 1603]

Rev: server/protocols/http.pike:1.316

2001-06-06

2001-06-06 22:11:00 by Per Hedbor <ph@opera.com>

Fixed [Bug 1691]

Rev: server/protocols/http.pike:1.315

2001-06-06 22:08:52 by Per Hedbor <ph@opera.com>

Fixed [Bug 1691]

Rev: server/protocols/http.pike:1.294

2001-05-11

2001-05-11 15:49:31 by 0

Added entity encoding fallback when sending widestrings as text/html or
text/xml in a character set which can't represent all original characters.

Rev: server/protocols/http.pike:1.314

2001-05-09

2001-05-09 11:54:32 by 0

If charset header already exists, don't add a second one.

Rev: server/protocols/http.pike:1.313

2001-05-08

2001-05-08 07:34:25 by Anders Johansson <anders@roxen.com>

Added missing '}'.

Rev: server/protocols/http.pike:1.312

2001-05-08 04:03:13 by Per Hedbor <ph@opera.com>

Accept multiple headers with the same name for connection, host, content-type, range,request-range, user-agent, proxy-authorization, if-modified-since, authorization, content-length and pragma.

Rev: server/protocols/http.pike:1.311

2001-05-04

2001-05-04 16:31:57 by Per Hedbor <ph@opera.com>

Do not send 100 Continue unless Expect: 100-continue has been received.

Rev: server/protocols/http.pike:1.239

2001-05-04 16:19:20 by Per Hedbor <ph@opera.com>

Do not send 100 Continue unless Expect: 100-continue has been received.

Rev: server/protocols/http.pike:1.293

2001-05-04 16:19:16 by Per Hedbor <ph@opera.com>

Do not send 100 Continue unless Expect: 100-continue has been received.

Rev: server/protocols/http.pike:1.310

2001-04-07

2001-04-07 11:45:31 by Per Hedbor <ph@opera.com>

Now works with Pike 7.2 and Pike 7.3

Rev: server/base_server/configuration.pike:1.183
Rev: server/base_server/roxen.pike:1.374
Rev: server/base_server/roxenloader.pike:1.95
Rev: server/etc/roxen_master.pike:1.51
Rev: server/modules/graphics/business_graphics/business.pike:1.112
Rev: server/modules/graphics/cimg.pike:1.2
Rev: server/modules/graphics/graphic_text.pike:1.169
Rev: server/modules/graphics/pimage.pike:1.12
Rev: server/modules/logging/home_logger.pike:1.19
Rev: server/modules/misc/upgrade_proxy.pike:1.7
Rev: server/modules/proxies/ftpgateway.pike:1.26
Rev: server/modules/scripting/cgi.pike:1.137
Rev: server/modules/scripting/pikescript.pike:1.32
Rev: server/modules/tags/countdown.pike:1.11
Rev: server/modules/tags/htmlparse.pike:1.196
Rev: server/modules/tags/lisp.pike:1.13
Rev: server/modules/tags/sqltag.pike:1.37
Rev: server/protocols/http.pike:1.136
Rev: server/server_templates/bare.pike:1.3
Rev: server/server_templates/basic.pike:1.2
Rev: server/server_templates/ftp.pike:1.4
Rev: server/server_templates/manualserver.pike:1.6
Rev: server/server_templates/proxy.pike:1.5
Rev: server/server_templates/standard.pike:1.7
Rev: server/start:1.59

2001-03-20

2001-03-20 01:04:39 by Martin Stjernholm <mast@lysator.liu.se>

Added some trace of the ram cache to the request trace.

Rev: server/protocols/http.pike:1.309

2001-03-16

2001-03-16 02:36:39 by Martin Nilsson <mani@lysator.liu.se>

Backported C-stack overflow fix.

Rev: server/protocols/http.pike:1.292

2001-03-16 02:18:22 by Martin Nilsson <mani@lysator.liu.se>

Fixed bug causing C-stack overflow when printing a backtrace.

Rev: server/protocols/http.pike:1.308

2001-03-08

2001-03-08 14:35:49 by Per Hedbor <ph@opera.com>

The module level security patterns now use the new authentication API. Placed a lot of modules in groups

Rev: server/base_server/configuration.pike:1.420
Rev: server/base_server/module.pike:1.111
Rev: server/base_server/roxen.pike:1.644
Rev: server/config_interface/dbs/browser.pike:1.10
Rev: server/config_interface/sites/config_left_item.pike:1.50
Rev: server/etc/modules/Roxen.pmod:1.72
Rev: server/modules/configuration/config_tags.pike:1.141
Rev: server/modules/database/sqltag.pike:1.76
Rev: server/modules/filesystems/filesystem.pike:1.96
Rev: server/modules/graphics/atlas.pike:1.4
Rev: server/modules/graphics/business.pike:1.140
Rev: server/modules/graphics/cimg.pike:1.38
Rev: server/modules/graphics/counter.pike:1.40
Rev: server/modules/graphics/gbutton.pike:1.78
Rev: server/modules/graphics/graphic_text.pike:1.260
Rev: server/modules/graphics/pimage.pike:1.25
Rev: server/modules/graphics/tablist.pike:1.52
Rev: server/modules/graphics/wiretap.pike:1.24
Rev: server/modules/scripting/piketag.pike:2.31
Rev: server/modules/security/auth_httpbasic.pike:1.5
Rev: server/modules/security/auth_httpcookie.pike:1.5
Rev: server/modules/security/userdb_system.pike:1.6
Rev: server/modules/tags/accessed.pike:1.41
Rev: server/modules/tags/additional_rxml.pike:1.11
Rev: server/modules/tags/awizard.pike:1.22
Rev: server/modules/tags/check_spelling.pike:1.16
Rev: server/modules/tags/countdown.pike:1.42
Rev: server/modules/tags/diremit.pike:1.7
Rev: server/modules/tags/email.pike:1.6
Rev: server/modules/tags/foldlist.pike:1.29
Rev: server/modules/tags/html_wash.pike:1.15
Rev: server/modules/tags/indirect_href.pike:1.26
Rev: server/modules/tags/killframe.pike:1.33
Rev: server/modules/tags/obox.pike:1.35
Rev: server/modules/tags/rxmlparse.pike:1.54
Rev: server/modules/tags/rxmltags.pike:1.208
Rev: server/modules/tags/sed.pike:1.11
Rev: server/modules/tags/ssi.pike:1.38
Rev: server/modules/tags/tablify.pike:1.63
Rev: server/modules/tags/translation_mod.pike:1.10
Rev: server/modules/tags/vform.pike:1.22
Rev: server/modules/tags/wizard_tag.pike:1.29
Rev: server/modules/tags/wizz.pike:1.2
Rev: server/protocols/http.pike:1.307

2001-02-27

2001-02-27 02:54:34 by Per Hedbor <ph@opera.com>

Added minimum bandwidth support, and added TIMER_*() macros for performance optimization reasons.

Rev: server/base_server/configuration.pike:1.418
Rev: server/base_server/global_variables.pike:1.63
Rev: server/base_server/roxen.pike:1.637
Rev: server/protocols/http.pike:1.306
Rev: server/protocols/prot_http.pike:2.2

2001-02-26

2001-02-26 21:38:17 by Marcus Comstedt <marcus@mc.pp.se>

Fix of bugfix wrt accept-language parsing (fixes [bug 1233]).

Rev: server/protocols/http.pike:1.291

2001-02-24

2001-02-24 21:27:43 by Per Hedbor <ph@opera.com>

Fixed a bug with regards to accept-language parsing

Rev: server/protocols/http.pike:1.290

2001-02-24 21:27:35 by Per Hedbor <ph@opera.com>

Fixed a bug with regards to accept-language parsing

Rev: server/protocols/http.pike:1.305

2001-02-24 19:57:14 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for "Cannot call functions in destructed objects" in protocols/http.pike.

Rev: server/protocols/http.pike:1.238

2001-02-24 18:55:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for "Cannot call functions in destructed objects" in protocols/http.pike.

Rev: server/protocols/http.pike:1.304

2001-02-24 18:53:46 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Potential fix for "Cannot call functions in destructed objects" in protocols/http.pike.

Rev: server/protocols/http.pike:1.289

2001-02-06

2001-02-06 12:23:32 by Johan Schön <js@opera.com>

Forward-port from 2.0. Fixed NULL-vulnerability again.

Rev: server/protocols/http.pike:1.303

2001-02-06 12:23:31 by Johan Schön <js@opera.com>

Forward-port from 2.0. Fixed NULL-vulnerability again.

Rev: server/protocols/http.pike:1.288

2001-02-05

2001-02-05 11:53:06 by Per Hedbor <ph@opera.com>

Use the FakedVariables class

Rev: server/base_server/roxen.pike:1.627
Rev: server/protocols/http.pike:1.302
Rev: server/protocols/prot_hilfe.pike:2.4

2001-02-01

2001-02-01 12:21:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix in handling of extra spaces in the request.

Rev: server/protocols/http.pike:1.301

2001-02-01 08:36:04 by Per Hedbor <ph@opera.com>

Resolved several issues with HTTP/0.9.

Rev: server/protocols/http.pike:1.300

2001-02-01 03:16:21 by Per Hedbor <ph@opera.com>

Fixed [Bug 1130]

Rev: server/protocols/http.pike:1.237

2001-02-01 03:16:11 by Per Hedbor <ph@opera.com>

Fixed [Bug 1130]

Rev: server/protocols/http.pike:1.299

2001-02-01 03:16:09 by Per Hedbor <ph@opera.com>

Fixed [Bug 1130]

Rev: server/protocols/http.pike:1.287

2001-01-28

2001-01-28 05:44:15 by Per Hedbor <ph@opera.com>

Very minor optimization

Rev: server/protocols/http.pike:1.298

2001-01-19

2001-01-19 18:34:47 by Per Hedbor <ph@opera.com>

more authentication changes. id->auth is now emulated

Rev: server/modules/security/auth_httpbasic.pike:1.2
Rev: server/modules/security/auth_httpcookie.pike:1.2
Rev: server/protocols/ftp.pike:2.45
Rev: server/protocols/http.pike:1.297

2001-01-19 16:39:22 by Per Hedbor <ph@opera.com>

Removed auth initialization. To be replaced with an emulation object soon

Rev: server/protocols/http.pike:1.296

2001-01-11

2001-01-11 16:38:55 by Per Hedbor <ph@opera.com>

The set_config code now (hopefully) works somewhat better than before. :)

Rev: server/protocols/http.pike:1.295

2001-01-10

2001-01-10 21:32:25 by Marcus Wellhardh <wellhard@roxen.com>

Fixed RoxenConfig cookie support. The <aconf> tag will probably also start to work again.

Rev: server/protocols/http.pike:1.286

2001-01-03

2001-01-03 09:48:28 by Per Hedbor <ph@opera.com>

Fixes (at least partly) [Bug 925]

Rev: server/protocols/http.pike:1.294

2000-12-30

2000-12-30 09:12:17 by Martin Nilsson <mani@lysator.liu.se>

Added real_variables to clone function.

Rev: server/protocols/http.pike:1.293

2000-12-11

2000-12-11 03:07:47 by Per Hedbor <ph@opera.com>

Abstracted error file handing

Rev: server/base_server/configuration.pike:1.403
Rev: server/protocols/http.pike:1.292

2000-12-10

2000-12-10 02:41:57 by Per Hedbor <ph@opera.com>

Simplified

Rev: server/protocols/http.pike:1.291

2000-12-04

2000-12-04 22:32:48 by Martin Nilsson <mani@lysator.liu.se>

Fixed typo so that Roxen.http_redirect now works for non-root mounted servers

Rev: server/protocols/http.pike:1.290

2000-12-04 22:31:10 by Martin Nilsson <mani@lysator.liu.se>

Spellcheck

Rev: server/protocols/http.pike:1.285

2000-12-02

2000-12-02 20:12:10 by Per Hedbor <ph@opera.com>

Added set_max_cache and get_max_cache, and a new mapping, real_variables, which contains ([ variable_name:({ value, [ ... ] }) ])

Rev: server/protocols/http.pike:1.289

2000-11-22

2000-11-22 07:11:30 by Per Hedbor <ph@opera.com>

Fix [Bug 571] by including content-length on zero-length requests that are not code 200. Including it on code 200 replies crashes netscape.

Rev: server/protocols/http.pike:1.284

2000-11-22 07:11:26 by Per Hedbor <ph@opera.com>

Fix [Bug 571] by including content-length on zero-length requests that are not code 200. Including it on code 200 replies crashes netscape.

Rev: server/protocols/http.pike:1.288

2000-11-16

2000-11-16 11:51:48 by Per Hedbor <ph@opera.com>

Oups. Some debug got through

Rev: server/protocols/http.pike:1.287

2000-11-14

2000-11-14 05:25:38 by Per Hedbor <ph@opera.com>

Moved the profiling code around a little for more sensible values

Rev: server/protocols/http.pike:1.135

2000-11-13

2000-11-13 15:08:49 by Per Hedbor <ph@opera.com>

Fixed [Bug 699]

Rev: server/base_server/roxen.pike:1.572
Rev: server/protocols/fhttp.pike:2.12(DEAD)
Rev: server/protocols/gopher.pike:1.17(DEAD)
Rev: server/protocols/hilfe.pike:2.5(DEAD)
Rev: server/protocols/http.pike:1.286
Rev: server/protocols/prot_fhttp.pike:2.1
Rev: server/protocols/prot_ftp.pike:2.1
Rev: server/protocols/prot_ftps.pike:2.1
Rev: server/protocols/prot_hilfe.pike:2.1
Rev: server/protocols/prot_http.pike:2.1
Rev: server/protocols/prot_https.pike:2.1
Rev: server/protocols/prot_tetris.pike:2.1

2000-11-05

2000-11-05 21:26:25 by Martin Nilsson <mani@lysator.liu.se>

Fixes bug when mounting server elsewhere than the root.

Rev: server/protocols/http.pike:1.285

2000-11-05 21:25:36 by Martin Nilsson <mani@lysator.liu.se>

Fixes bug when mounting server elsewhere than the root.

Rev: server/protocols/http.pike:1.283

2000-11-02

2000-11-02 17:06:38 by Per Hedbor <ph@opera.com>

Do not attempt to cache files of unknown length, it might end in sorrow.

Rev: server/protocols/http.pike:1.284

2000-11-02 17:06:33 by Per Hedbor <ph@opera.com>

Do not attempt to cache files of unknown length, it might end in sorrow.

Rev: server/protocols/http.pike:1.282

2000-10-20

2000-10-20 17:04:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for [bug 586].

Rev: server/protocols/http.pike:1.281

2000-10-19

2000-10-19 12:24:10 by Per Hedbor <ph@opera.com>

Added some security to the hilfe protocol

Rev: server/base_server/global_variables.pike:1.48
Rev: server/base_server/roxen.pike:1.568
Rev: server/protocols/hilfe.pike:2.4
Rev: server/protocols/http.pike:1.283

2000-10-19 08:58:14 by Per Hedbor <ph@opera.com>

Oups. Enable <> in URLs again to set config

Rev: server/protocols/http.pike:1.282

2000-10-19 08:58:10 by Per Hedbor <ph@opera.com>

Oups. Enable <> in URLs again to set config

Rev: server/protocols/http.pike:1.280

2000-10-17

2000-10-17 21:01:34 by Per Hedbor <ph@opera.com>

Fixes [Bug 370]

Rev: server/etc/modules/Variable.pmod/Image.pike:1.1
Rev: server/etc/modules/Variable.pmod/Upload.pike:1.1
Rev: server/modules/tags/vform.pike:1.13
Rev: server/protocols/http.pike:1.281

2000-10-07

2000-10-07 11:22:03 by Per Hedbor <ph@opera.com>

More delayed request support

Rev: server/base_server/http.pike:1.51
Rev: server/protocols/http.pike:1.280

2000-10-02

2000-10-02 20:57:04 by Per Hedbor <ph@opera.com>

Disabled some optimizations

Rev: server/protocols/http.pike:1.236

2000-09-30

2000-09-30 19:18:50 by Per Hedbor <ph@opera.com>

Fixes the irritating 'only-half-the-page' bug

Rev: server/protocols/http.pike:1.279

2000-09-28

2000-09-28 03:35:54 by Martin Stjernholm <mast@lysator.liu.se>

On behalf of Per: Fixed bug that caused premature close of
connections. Fixes [bug 439].

Rev: server/protocols/http.pike:1.279

2000-09-26

2000-09-26 22:51:19 by Per Hedbor <ph@opera.com>

Fixes [Bug 404]

Rev: server/protocols/http.pike:1.278

2000-09-26 22:51:18 by Per Hedbor <ph@opera.com>

Fixes [Bug 404]

Rev: server/protocols/http.pike:1.278

2000-09-19

2000-09-19 22:46:08 by Per Hedbor <ph@opera.com>

Fix for the RAM cache.

Rev: server/etc/modules/Roxen.pmod:1.39
Rev: server/protocols/http.pike:1.277

2000-09-19 22:43:48 by Per Hedbor <ph@opera.com>

Fix for the RAM cache.

Rev: server/protocols/http.pike:1.276

2000-09-19 18:28:04 by Per Hedbor <ph@opera.com>

Fixed statistics when sending from cache

Rev: server/protocols/http.pike:1.275

2000-09-16

2000-09-16 20:44:47 by Per Hedbor <ph@opera.com>

Made the charset setting user-local instead of configuration-interface global. Also made the whole charset handlign code way less sensitive to illegal charsets.

Rev: server/base_server/config_userdb.pike:1.3
Rev: server/modules/configuration/config_filesystem.pike:1.55
Rev: server/protocols/http.pike:1.274

2000-09-12

2000-09-12 20:55:27 by Per Hedbor <ph@opera.com>

Fixed leaking (well, somewhat) call_out()s when sending reply from cache

Rev: server/protocols/http.pike:1.273

2000-09-10

2000-09-10 15:18:25 by Per Hedbor <ph@opera.com>

Fixes [bug 213], do not cache backtraces

Rev: server/protocols/http.pike:1.272

2000-09-05

2000-09-05 14:45:11 by Johan Sundström <oyasumi@gmail.com>

Fixed a bug in the <return> tag. Works as documented/expected now with any permutation of text/code arguments.

Rev: server/modules/tags/rxmltags.pike:1.168
Rev: server/protocols/http.pike:1.271

2000-09-04

2000-09-04 08:54:43 by Per Hedbor <ph@opera.com>

Support requests without host header

Rev: server/protocols/http.pike:1.270

2000-09-02

2000-09-02 22:22:59 by Per Hedbor <ph@opera.com>

Fixed backtrace reporting for Pike 7.1 _and_ Pike 7.0 compatibility somewhat. Now it works, but looks somewhat ugly (sort of information overload when you look at it. :-))). Fixes [Bug 186]

Rev: server/protocols/http.pike:1.269

2000-09-02 21:46:49 by Per Hedbor <ph@opera.com>

stupid_describe_(.*) is now describe_\1

Rev: server/protocols/http.pike:1.268

2000-09-01

2000-09-01 14:10:27 by Per Hedbor <ph@opera.com>

Handle missing port_obj in do_log as well.

Rev: server/protocols/http.pike:1.267

2000-09-01 13:47:40 by Per Hedbor <ph@opera.com>

Better handling of if-modified-since (i.e: Ignore the header if misc->cacheable != INITIAL_CACHEABLE)

Rev: server/protocols/http.pike:1.266

2000-08-31

2000-08-31 20:52:21 by Per Hedbor <ph@opera.com>

Added support for destruct-cache object and callbacks to limit the cacheability of things

Rev: server/protocols/http.pike:1.265

2000-08-31 03:16:37 by Per Hedbor <ph@opera.com>

Unified path handling (and c->inited) for less copy-paste errors..

Rev: server/base_server/roxen.pike:1.539
Rev: server/protocols/http.pike:1.264

2000-08-31 03:00:34 by Per Hedbor <ph@opera.com>

Close connection if the port has been closed (for keep-alive requests, mostly). Fixes [Bug 169]

Rev: server/protocols/http.pike:1.263

2000-08-29

2000-08-29 13:27:29 by Per Hedbor <ph@opera.com>

Oups, inverted the test

Rev: server/protocols/http.pike:1.235

2000-08-29 12:57:40 by Per Hedbor <ph@opera.com>

Do not send last-modified for any type of data that depends on time

Rev: server/protocols/http.pike:1.234

2000-08-28

2000-08-28 12:50:48 by Per Hedbor <ph@opera.com>

Oups. Forgot to check in the nocache fix here. Solves [Bug 10] for Roxen 2.0.

Rev: server/protocols/http.pike:1.233

2000-08-28 12:10:47 by Per Hedbor <ph@opera.com>

not_query is not yet resolved here. Perhaps it should be, but this behaviour is rather logical as well. You can now mount servers on things like http://foo/bar?gazonk=10. Fixes [Bug 126]

Rev: server/protocols/http.pike:1.262

2000-08-28 12:02:19 by Per Hedbor <ph@opera.com>

Close the connection for non-keepalive connections even when sending from cache

Rev: server/protocols/http.pike:1.261

2000-08-28 09:53:59 by Per Hedbor <ph@opera.com>

Fixes [Bug 122]

Rev: server/protocols/http.pike:1.260

2000-08-28 07:05:27 by Per Hedbor <ph@opera.com>

_really_ minor optimization for the case when RAM_CACHE_ASUME_STATIC_CONTENT is defined

Rev: server/protocols/http.pike:1.259

2000-08-28 07:01:50 by Per Hedbor <ph@opera.com>

start_sender(), not send_result(). Fixes [Bug 104]

Rev: server/protocols/http.pike:1.258

2000-08-28 06:53:38 by Per Hedbor <ph@opera.com>

Oups. Prestates were broken

Rev: server/protocols/http.pike:1.257

2000-08-28 05:30:19 by Per Hedbor <ph@opera.com>

Separated the parsing of the request data somewhat -- thigns that does not have to be done unless we do not send data from the cache is only done when we do not send data from the cache... Also, fixed all array(int) -> Stat for 7.1 compatibility.

Rev: server/protocols/http.pike:1.256

2000-08-27

2000-08-27 14:52:14 by Martin Stjernholm <mast@lysator.liu.se>

Fixed the port path optimization (and simplified it a bit too).

Rev: server/base_server/roxen.pike:1.535
Rev: server/protocols/http.pike:1.255

2000-08-22

2000-08-22 19:17:43 by Per Hedbor <ph@opera.com>

Removed the first (unsused and nonworking) argument from end

Rev: server/protocols/http.pike:1.254

2000-08-22 02:34:14 by Martin Stjernholm <mast@lysator.liu.se>

Add object-> before functions in the backtrace in the error page when
it's meaningful. Fixed a quoting bug when generating links in the
error page.

Rev: server/protocols/http.pike:1.253

2000-08-20

2000-08-20 03:12:08 by Per Hedbor <ph@opera.com>

Now proxies work again

Rev: server/config_interface/standard/sites/site_templates/proxy.pike:1.1
Rev: server/protocols/http.pike:1.252

2000-08-20 03:02:01 by Per Hedbor <ph@opera.com>

Fixes for [Bug 32]. The headers must also be encoded using the same charset as the content. This might break things horribly if the charset is EBDIC or something similar, but there is really no way to work around that and still have working redirects. Of course, the header keys might be kept as iso-8859-1, and only the values encoded, but I don't know if that's more correct, really

Rev: server/config_interface/standard/sites/encode_form_name.pike:1.1
Rev: server/config_interface/standard/sites/new_site.html:1.11
Rev: server/protocols/http.pike:1.251

2000-08-17

2000-08-17 01:16:06 by Per Hedbor <ph@opera.com>

Added options to control the RAM cache

Rev: server/protocols/http.pike:1.250
Rev: server/start:1.121

2000-08-17 00:38:34 by Per Hedbor <ph@opera.com>

Always stat() the file before sending from cache. It only slows things down ~20%, and really helps when developing pages...

Rev: server/protocols/http.pike:1.249

2000-08-16

2000-08-16 22:53:28 by Per Hedbor <ph@opera.com>

[Bug 27] Fix to avoid forcing close of connectsion when using if-modified-since, also set the Connection header correctly.

Rev: server/protocols/http.pike:1.248

2000-08-16 18:55:29 by Per Hedbor <ph@opera.com>

Tentative bugfix for the 'multiple-servers-mounted-on-same-port' bug.

Rev: server/base_server/configuration.pike:1.341
Rev: server/base_server/roxen.pike:1.523
Rev: server/protocols/http.pike:1.247

2000-08-15

2000-08-15 11:48:46 by Johan Sundström <oyasumi@gmail.com>

Fixed a bug making id->supports rather empty for capable browsers.

Rev: server/protocols/http.pike:1.246

2000-08-14

2000-08-14 22:50:53 by Martin Stjernholm <mast@lysator.liu.se>

Some changes from Per: (Noncomplete) fix of the conf object optimization
for keepalives. Recorporated some things from the old http protocol.

Rev: server/base_server/configuration.pike:1.337
Rev: server/base_server/roxen.pike:1.520
Rev: server/protocols/http.pike:1.245

2000-08-14 19:54:19 by Per Hedbor <ph@opera.com>

Support odd contents in file->data

Rev: server/protocols/http.pike:1.244

2000-08-14 19:50:00 by Per Hedbor <ph@opera.com>

SSLfile does not like ->read()

Rev: server/protocols/http.pike:1.243

2000-08-14 02:01:46 by Per Hedbor <ph@opera.com>

Some reorganizations and one minor optimization, also a bugfix for the case when there is no data to send (no such file was sowhat broken, and I forgot to check in the fix yesterday)

Rev: server/protocols/http.pike:1.242

2000-08-13

2000-08-13 13:54:22 by Per Hedbor <ph@opera.com>

Optimizations

Rev: server/base_server/configuration.pike:1.335
Rev: server/base_server/fastpipe.pike:1.6
Rev: server/config_interface/standard/sites/site_content.pike:1.75
Rev: server/protocols/http.pike:1.241

2000-08-13 04:03:30 by Per Hedbor <ph@opera.com>

Bugfix for try_again_later code

Rev: server/protocols/http.pike:1.240

2000-08-13 03:08:27 by Per Hedbor <ph@opera.com>

This is faster (due to the fact that the FD is in blocking mode here.. Fixing that takes longer than we win by doing read() directly)

Rev: server/protocols/http.pike:1.239

2000-08-13 00:23:29 by Per Hedbor <ph@opera.com>

Optimized

Rev: server/base_server/configuration.pike:1.334
Rev: server/protocols/http.pike:1.238

2000-08-12

2000-08-12 06:16:22 by Per Hedbor <ph@opera.com>

Use optimized C-functions if available, also, the configuration object may now be passed to create. In that case no search is done using the requested URL

Rev: server/protocols/http.pike:1.237

2000-08-09

2000-08-09 02:36:09 by Per Hedbor <ph@opera.com>

Fixed (I hope) if-modified-since handling

Rev: server/protocols/http.pike:1.236

2000-07-23

2000-07-23 16:50:48 by Stefan Wallström <stewa@roxen.com>

Makes POST requests work when content-type is sent after content-length.

Rev: server/protocols/http.pike:1.235

2000-07-21

2000-07-21 23:22:21 by Johan Schön <js@opera.com>

This is supposedly faster :-)

Rev: server/protocols/http.pike:1.232

2000-07-21 23:14:58 by Per Hedbor <ph@opera.com>

Avoid security hole.

Rev: server/protocols/http.pike:1.134

2000-07-21 22:58:30 by Johan Schön <js@opera.com>

Remove everything after any null character encountered in the query string

Rev: server/protocols/http.pike:1.231

2000-06-29

2000-06-29 19:57:01 by David Hedbor <david@hedbor.org>

Fixed stupid bug that always caused empty headers...

Rev: server/protocols/http.pike:1.234

2000-06-26

2000-06-26 21:04:12 by David Hedbor <david@hedbor.org>

Fix for the famous DOS bug that causes Roxen to suck infinite CPU.

Rev: server/protocols/http.pike:1.233

2000-05-14

2000-05-14 16:10:09 by Francesco Chemolli <li@kinkie.it>

Added some throttling-related bread crumbs.

Rev: server/protocols/http.pike:1.232

2000-05-08

2000-05-08 00:08:23 by Martin Nilsson <mani@lysator.liu.se>

Don't inherit roxenlib.

Rev: server/protocols/http.pike:1.231

2000-05-03

2000-05-03 08:43:07 by Martin Stjernholm <mast@lysator.liu.se>

Force close when sending the empty content, to work around a bug in
Netscape.

Rev: server/protocols/http.pike:1.230

2000-04-30

2000-04-30 00:19:01 by Martin Nilsson <mani@lysator.liu.se>

Added client_var to clone_me

Rev: server/protocols/http.pike:1.229

2000-04-28

2000-04-28 15:51:45 by Martin Nilsson <mani@lysator.liu.se>

Fix for persistent client scope.

Rev: server/protocols/http.pike:1.230

2000-04-25

2000-04-25 16:19:07 by Martin Stjernholm <mast@lysator.liu.se>

Force close when sending the empty content, to work around a bug in
Netscape.

Rev: server/protocols/http.pike:1.229

2000-03-27

2000-03-27 13:19:06 by Johan Sundström <oyasumi@gmail.com>

Optimized /error? to /error/?, which fixed my previous problems
regarding lost error messages. Seems like the problem might have been
related to a disconnected my_fd and keep-alive; somebody might want to
look it up.

Rev: server/protocols/http.pike:1.228

2000-03-26

2000-03-26 15:44:44 by Martin Stjernholm <mast@lysator.liu.se>

Don't store the raw backtrace in the error history since that doesn't
sit too well with object references etc. Send the plain error message
as text/plain instead of preformatted quoted text/html so we don't
have to see that mess in support mails. Some other small error
reporting fixes.

Rev: server/protocols/http.pike:1.227

2000-03-25

2000-03-25 03:23:32 by Martin Stjernholm <mast@lysator.liu.se>

Fixed a bug with premature destruction of the id object when using
keep-alive.

Rev: server/protocols/http.pike:1.226

2000-03-24

2000-03-24 19:31:47 by Per Hedbor <ph@opera.com>

Fixed head and a bug with clients that does not send User-Agent (such as most telnet based ones)

Rev: server/protocols/http.pike:1.225

2000-03-24 19:15:06 by Martin Stjernholm <mast@lysator.liu.se>

Handle object type backtraces in store_error().

Rev: server/protocols/http.pike:1.224

2000-03-24 02:08:54 by Martin Stjernholm <mast@lysator.liu.se>

The backtrace reporter is now in working order again.

Rev: server/protocols/http.pike:1.223

2000-03-20

2000-03-20 02:30:55 by Martin Stjernholm <mast@lysator.liu.se>

Include the object count number in the _sprintf() string if it's
available.

Rev: server/protocols/http.pike:1.222

2000-03-19

2000-03-19 16:38:53 by Martin Nilsson <mani@lysator.liu.se>

Use parse_since in Roxen instead of roxen

Rev: server/protocols/http.pike:1.221

2000-03-18

2000-03-18 02:55:08 by Martin Stjernholm <mast@lysator.liu.se>

Track the id objects if ID_OBJ_DEBUG is defined.

Rev: server/protocols/http.pike:1.220

2000-03-16

2000-03-16 18:24:37 by Martin Nilsson <mani@lysator.liu.se>

Update copyright

Rev: server/protocols/fhttp.pike:2.11
Rev: server/protocols/gopher.pike:1.14
Rev: server/protocols/http.pike:1.219

2000-03-15

2000-03-15 17:16:07 by Martin Nilsson <mani@lysator.liu.se>

Minor changes in the backtrace layout.

Rev: server/protocols/http.pike:1.218

2000-03-10

2000-03-10 17:56:29 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.217

2000-03-10 17:16:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now supports delayed loading even for browsers that don't send the host header.

Rev: server/protocols/http.pike:1.216

2000-03-07

2000-03-07 22:42:13 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Somewhat safer backward compat for $File & $Me.

Rev: server/base_server/configuration.pike:1.272
Rev: server/protocols/http.pike:1.215

2000-03-07 21:36:49 by Martin Stjernholm <mast@lysator.liu.se>

Added compatibility code for replacing $Me and $File in the
ZNoSuchFile page; necessary since that setting still has its old value
when people have upgraded.

Rev: server/protocols/http.pike:1.214

2000-03-06

2000-03-06 16:48:58 by Martin Nilsson <mani@lysator.liu.se>

The empty string is not a langauge. Ignore it.

Rev: server/protocols/http.pike:1.213

2000-03-06 13:43:33 by 0

Only perform charset encoding on text output.

Rev: server/protocols/http.pike:1.212

2000-02-23

2000-02-23 19:14:43 by Martin Nilsson <mani@lysator.liu.se>

Bugfix for languages.

Rev: server/protocols/http.pike:1.211

2000-02-17

2000-02-17 15:50:13 by Johan Schön <js@opera.com>

Magic fix courtesy of Per. Supposed to fixed problem with a 0 appended to the content type.

Rev: server/protocols/http.pike:1.210

2000-02-17 14:53:19 by Per Hedbor <ph@opera.com>

Minor misfeature

Rev: server/protocols/http.pike:1.209

2000-02-17 05:27:35 by Per Hedbor <ph@opera.com>

int * -> array(int)

Rev: server/protocols/http.pike:1.208

2000-02-16

2000-02-16 11:08:32 by Per Hedbor <ph@opera.com>

Now tries to get a charset that can handle all charsets that were specified while parsing the file. Please note that it still cannot really do things like 'find a charset for iso-8859-1 and iso-8859-2' (the answer would be utf-8, most likely)

Rev: server/protocols/http.pike:1.207

2000-02-15

2000-02-15 00:18:06 by Martin Nilsson <mani@lysator.liu.se>

Made supports lookup faster. Fixed file not foudn bug.

Rev: server/protocols/http.pike:1.206

2000-02-14

2000-02-14 12:49:49 by Per Hedbor <ph@opera.com>

oups again. :-)

Rev: server/protocols/http.pike:1.205

2000-02-14 10:22:01 by Per Hedbor <ph@opera.com>

Calculate the content-length _after_ the encoding, also, do not default to utf-8 for pages with only iso-8859-1. :-)

Rev: server/protocols/http.pike:1.204

2000-02-14 10:19:09 by Per Hedbor <ph@opera.com>

Changed 'requests_are_utf8_encoded' to 'charset=utf-8'. Looks better, and is somewhat more generic :-)

Rev: server/etc/supports:1.73
Rev: server/protocols/http.pike:1.203

2000-02-14 09:22:40 by Per Hedbor <ph@opera.com>

Automatically encode to the specified output charset.

Rev: server/protocols/http.pike:1.202

2000-02-11

2000-02-11 08:53:32 by Per Hedbor <ph@opera.com>

New grouping on the add module page, and a drop module page. Also, I changed the logo in the powerpuff theme to the default logo

Rev: server/base_server/rxml.pike:1.119
Rev: server/config_interface/standard/sites/add_module.pike:1.6
Rev: server/config_interface/standard/sites/config_left_item.pike:1.19
Rev: server/config_interface/standard/sites/drop_module.pike:1.1
Rev: server/config_interface/standard/themes/README:1.3
Rev: server/config_interface/standard/themes/powerpuff/logo.gif:1.1
Rev: server/config_interface/standard/themes/powerpuff/theme:1.5
Rev: server/etc/roxen_master.pike:1.72
Rev: server/modules/compat/INFO:1.1
Rev: server/modules/configuration/INFO:1.1
Rev: server/modules/configuration/config_tags.pike:1.46
Rev: server/modules/directories/INFO:1.1
Rev: server/modules/examples/INFO:1.1
Rev: server/modules/filesystems/INFO:1.1
Rev: server/modules/filters/INFO:1.1
Rev: server/modules/graphics/INFO:1.1
Rev: server/modules/ldap/INFO:1.1
Rev: server/modules/logging/INFO:1.1
Rev: server/modules/misc/INFO:1.1
Rev: server/modules/proxies/INFO:1.1
Rev: server/modules/scripting/INFO:2.1
Rev: server/modules/tags/INFO:1.1
Rev: server/modules/throttling/INFO:1.1
Rev: server/protocols/http.pike:1.201

2000-02-10

2000-02-10 10:38:47 by Martin Nilsson <mani@lysator.liu.se>

Always make id->misc->pref_languages

Rev: server/protocols/http.pike:1.200

2000-02-10 10:10:54 by Per Hedbor <ph@opera.com>

Do not have special variables for the ua-* headers, it's enough with the entry in the request_headers mapping...

Rev: server/protocols/http.pike:1.199

2000-02-10 09:18:34 by Per Hedbor <ph@opera.com>

Do not send result if file->pipe. http_pipe_in_progress was broken.

Rev: server/protocols/http.pike:1.198

2000-02-08

2000-02-08 22:14:42 by Per Hedbor <ph@opera.com>

No need for pike < 0.4 compatibility anymore... :-)

Rev: server/protocols/http.pike:1.197

2000-02-07

2000-02-07 16:42:31 by Elias Levy <aleph1@underground.org>

Fixed unquoted string vulnerability.
Thanks to Aleph One <aleph1@underground.org> for notice and fix.

Rev: server/protocols/http.pike:1.133

2000-02-04

2000-02-04 01:35:40 by Per Hedbor <ph@opera.com>

Do not replace and . There are way better ways to do this now

Rev: server/base_server/configuration.pike:1.256
Rev: server/protocols/fhttp.pike:2.9
Rev: server/protocols/http.pike:1.196

2000-02-03

2000-02-03 20:33:03 by Per Hedbor <ph@opera.com>

Added 'connection()' and 'configuration()' methods in the RequestID class

Rev: server/base_server/roxen.pike:1.408
Rev: server/protocols/fhttp.pike:2.8
Rev: server/protocols/ftp.pike:2.27
Rev: server/protocols/http.pike:1.195

2000-01-30

2000-01-30 21:19:30 by Per Hedbor <ph@opera.com>

Somewhat optimized

Rev: server/protocols/http.pike:1.194

2000-01-28

2000-01-28 13:46:08 by Martin Nilsson <mani@lysator.liu.se>

Added a pref_language object that takes care of some silly aspects of HTTP/1.1

Rev: server/protocols/http.pike:1.193

2000-01-23

2000-01-23 06:17:56 by Martin Nilsson <mani@lysator.liu.se>

Make a copy of accept-language that we can modify to reflect the clients true language wishes.

Rev: server/protocols/http.pike:1.192

2000-01-22

2000-01-22 21:46:12 by Martin Stjernholm <mast@lysator.liu.se>

Forgot to remove some debug.

Rev: server/protocols/http.pike:1.191

2000-01-22 00:25:05 by Martin Stjernholm <mast@lysator.liu.se>

Do not send a short file when only HEAD is requested.

Rev: server/protocols/http.pike:1.190

2000-01-21

2000-01-21 23:05:21 by Martin Stjernholm <mast@lysator.liu.se>

Added a low-level catch in the read callback so we don't leave the
connection hanging if there's some internal server bug.

Rev: server/protocols/http.pike:1.189

2000-01-20

2000-01-20 22:38:28 by Martin Nilsson <mani@lysator.liu.se>

Fixed a bug

Rev: server/protocols/http.pike:1.188

2000-01-20 21:02:25 by Martin Nilsson <mani@lysator.liu.se>

Add the mapping client_var

Rev: server/protocols/http.pike:1.187

2000-01-16

2000-01-16 23:20:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Somewhat improved handling of keep-alive.

Rev: server/protocols/http.pike:1.186

2000-01-12

2000-01-12 22:02:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

decode_charset_encoding() is now more paranoid about the decoder function.

Rev: server/protocols/http.pike:1.185

2000-01-12 05:47:19 by Martin Nilsson <mani@lysator.liu.se>

Fixed a config-cookie-url bug

Rev: server/protocols/http.pike:1.184

2000-01-05

2000-01-05 17:48:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved REQUEST_DEBUG.

Rev: server/protocols/http.pike:1.183

2000-01-03

2000-01-03 01:25:31 by Martin Nilsson <mani@lysator.liu.se>

Use parse_since from roxen object instead

Rev: server/protocols/http.pike:1.182

2000-01-03 00:07:18 by Martin Nilsson <mani@lysator.liu.se>

Use variables.h

Rev: server/protocols/http.pike:1.181

1999-12-29

1999-12-29 21:57:55 by Martin Stjernholm <mast@lysator.liu.se>

Added measure to ensure internal_error() works even when this_object()
is destructed.

Rev: server/protocols/http.pike:1.180

1999-12-27

1999-12-27 14:41:36 by Martin Nilsson <mani@lysator.liu.se>

A few bytes smaller

Rev: server/protocols/fhttp.pike:2.5
Rev: server/protocols/ftp.pike:2.22
Rev: server/protocols/gopher.pike:1.13
Rev: server/protocols/http.pike:1.179

1999-12-27 14:33:35 by Martin Nilsson <mani@lysator.liu.se>

Debug code fixes

Rev: server/protocols/fhttp.pike:2.4
Rev: server/protocols/ftp.pike:2.21
Rev: server/protocols/gopher.pike:1.12
Rev: server/protocols/http.pike:1.178

1999-12-26

1999-12-26 18:18:48 by Johan Sundström <oyasumi@gmail.com>

Added some missing arguments.

Rev: server/protocols/http.pike:1.177

1999-12-21

1999-12-21 00:03:14 by Marcus Comstedt <marcus@mc.pp.se>

Fixed correct headers when content-length is not known.

Rev: server/protocols/http.pike:1.176

1999-12-08

1999-12-08 08:08:43 by Per Hedbor <ph@opera.com>

Fast HTTP protocol.

Rev: server/base_server/roxen.pike:1.366
Rev: server/protocols/fhttp.pike:2.1
Rev: server/protocols/http.pike:1.175

1999-12-06

1999-12-06 21:12:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed bug.

Rev: server/protocols/http.pike:1.174

1999-12-06 21:08:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo.

Rev: server/protocols/http.pike:1.173

1999-12-06 18:50:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typo in if modified since test.
If modified since now uses id->misc->last_modified.

Rev: server/protocols/http.pike:1.172

1999-12-06 16:14:23 by Henrik Grubbström (Grubba) <grubba@grubba.org>

If modified since now looks at id->misc->cacheable.

Rev: server/protocols/http.pike:1.171

1999-11-24

1999-11-24 19:12:12 by Per Hedbor <ph@opera.com>

cache the fast and slowpipe programs (it is somewhat unnessesary to stat them for each request). :-)

Rev: server/base_server/roxen.pike:1.358
Rev: server/protocols/http.pike:1.170

1999-11-19

1999-11-19 06:55:52 by Per Hedbor <ph@opera.com>

Automatically detect and decode (8bit) charsets if there is a magic_roxen_automatic_charset_variable, or if the requests_are_utf8_encoded support variable is set. The variable should be set to åäö (unicode). A suitable <input type=hidden> tag is created by the <roxen-automatic-charset-variable> tag.

Rev: server/protocols/http.pike:1.169

1999-11-16

1999-11-16 14:53:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now checks the supports database for the attribute "requests_are_utf8_encoded".

Rev: server/protocols/http.pike:1.168

1999-11-02

1999-11-02 01:37:07 by Per Hedbor <ph@opera.com>

Added _sprintf

Rev: server/protocols/http.pike:1.167

1999-10-25

1999-10-25 18:02:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Should now survive without the host header.

Rev: server/protocols/http.pike:1.166

1999-10-12

1999-10-12 13:19:18 by Per Hedbor <ph@opera.com>

Now the module variables page actually work

Rev: server/base_server/configuration.pike:1.213
Rev: server/base_server/module.pike:1.48
Rev: server/base_server/roxen.pike:1.340
Rev: server/config_interface/standard/sites/config_left_item.pike:1.3
Rev: server/config_interface/standard/sites/module_variables.html:1.1
Rev: server/config_interface/standard/sites/site.html:1.4
Rev: server/config_interface/standard/sites/site_content.pike:1.2
Rev: server/modules/configuration/config_filesystem.pike:1.7
Rev: server/modules/configuration/config_tags.pike:1.9
Rev: server/protocols/http.pike:1.165

1999-10-11

1999-10-11 18:33:28 by Per Hedbor <ph@opera.com>

Now the configuration interface 'works' again

Rev: server/base_server/global_variables.pike:1.7
Rev: server/etc/include/module.h:1.24
Rev: server/modules/configuration/config_filesystem.pike:1.6
Rev: server/modules/configuration/config_tags.pike:1.8
Rev: server/protocols/http.pike:1.164

1999-10-10

1999-10-10 19:21:55 by Per Hedbor <ph@opera.com>

Fix id->port_obj in clone_me

Rev: server/protocols/http.pike:1.163

1999-10-09

1999-10-09 16:40:02 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved support for https.

Rev: server/protocols/http.pike:1.162

1999-10-08

1999-10-08 17:22:53 by Per Hedbor <ph@opera.com>

html encode error backtraces. Quite important nowdays, since they usualy contain a lot of rxml code... :)

Rev: server/protocols/http.pike:1.161

1999-10-08 11:47:34 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now works when my_fd is a simulated file.

Rev: server/protocols/http.pike:1.160

1999-10-04

1999-10-04 19:14:00 by Marcus Comstedt <marcus@mc.pp.se>

Proxyauth bug fixed.

Rev: server/protocols/http.pike:1.159

1999-10-04 19:12:45 by Per Hedbor <ph@opera.com>

Now keep-alive works again

Rev: server/protocols/http.pike:1.158

1999-10-04 18:53:22 by Marcus Comstedt <marcus@mc.pp.se>

URL:s now grouped per port object.

Rev: server/base_server/roxen.pike:1.328
Rev: server/protocols/http.pike:1.157

1999-10-04 15:11:55 by Per Hedbor <ph@opera.com>

First stab at new core methods

Rev: server/base_server/configuration.pike:1.209
Rev: server/base_server/global_variables.pike:1.4
Rev: server/base_server/language.pike:1.19
Rev: server/base_server/module.pike:1.47
Rev: server/base_server/module_support.pike:1.26
Rev: server/base_server/roxen.pike:1.327
Rev: server/base_server/roxenloader.pike:1.101
Rev: server/modules/filesystems/filesystem.pike:1.57
Rev: server/protocols/http.pike:1.156

1999-09-29

1999-09-29 20:25:10 by Francesco Chemolli <li@kinkie.it>

Changed the way throttling information is passed among modules to a
single id->throttle mapping.

Rev: server/protocols/http.pike:1.155

1999-09-26

1999-09-26 02:39:42 by Martin Stjernholm <mast@lysator.liu.se>

Some fixes when running with REQUEST_DEBUG.

Rev: server/protocols/http.pike:1.154

1999-09-05

1999-09-05 01:42:22 by Per Hedbor <ph@opera.com>

removed the 'thepipe' constant, since even if it's uncommented, it won't work. :)

Rev: server/protocols/http.pike:1.153

1999-09-04

1999-09-04 22:40:45 by Francesco Chemolli <li@kinkie.it>

First useable implementation of the bandwidth throttling subsystem.

Rev: server/base_server/configuration.pike:1.206
Rev: server/base_server/fastpipe.pike:1.1
Rev: server/base_server/roxen.pike:1.322
Rev: server/base_server/slowpipe.pike:1.1
Rev: server/base_server/smartpipe.pike:1.29
Rev: server/base_server/throttler.pike:1.1
Rev: server/modules/throttling/baseline_throttling.pike:1.1
Rev: server/modules/throttling/throttling_bytype.pike:1.1
Rev: server/protocols/http.pike:1.152

1999-08-17

1999-08-17 18:37:51 by Henrik Grubbström (Grubba) <grubba@grubba.org>

The content-type field in the heads mapping is spelled "Content-type",
and not "Content-Type".

Rev: server/protocols/http.pike:1.151

1999-08-15

1999-08-15 21:29:56 by David Hedbor <david@hedbor.org>

Fixed content length bug

Rev: server/protocols/http.pike:1.132

1999-08-06

1999-08-06 03:15:10 by Per Hedbor <ph@opera.com>

Fixed support for throw(0)

Rev: server/protocols/http.pike:1.150

1999-08-05

1999-08-05 11:57:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix of the latest bugfix.

Rev: server/protocols/http.pike:1.149

1999-08-04

1999-08-04 19:01:03 by David Hedbor <david@hedbor.org>

Added caching of supports lookup, fixed 'request-range' handling (multipart byte requests now work with netscape).

Rev: server/base_server/roxen.pike:1.357
Rev: server/etc/include/config.h:1.15
Rev: server/protocols/http.pike:1.131

1999-08-04 18:59:39 by David Hedbor <david@hedbor.org>

Fix in parsing HTTP/1.x request w/o headers.

Rev: server/protocols/http.pike:1.148

1999-07-31

1999-07-31 18:43:52 by Johan Schön <js@opera.com>

Reverted to old find_site_for behaviour.
(It was used from more places than protocols/http.pike)

Rev: server/base_server/roxen.pike:1.311
Rev: server/protocols/http.pike:1.147

1999-07-28

1999-07-28 21:56:54 by David Hedbor <david@hedbor.org>

Support added for Request-Range (from a draft), which has precendence over Range (from the HTTP/1.1 spec) to fix another stupid Netscape bug.

Rev: server/protocols/http.pike:1.146

1999-07-16

1999-07-16 13:24:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor optimization.

Rev: server/protocols/http.pike:1.145

1999-07-16 06:22:54 by David Hedbor <david@hedbor.org>

http.pike: Fix for buggy sscanf behavior, host.pike: supports NO_DNS again

Rev: server/base_server/hosts.pike:1.25
Rev: server/protocols/http.pike:1.144

1999-07-15

1999-07-15 20:32:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few bugs in the new parse_got().

Rev: server/protocols/http.pike:1.143

1999-07-15 16:59:28 by David Hedbor <david@hedbor.org>

Performance tweaking: Added supports caching, rewrote request parsing, fixed HTTP/0.9 support and more

Rev: server/base_server/configuration.pike:1.204
Rev: server/base_server/roxen.pike:1.306
Rev: server/base_server/roxenlib.pike:1.108
Rev: server/etc/include/config.h:1.15
Rev: server/modules/filesystems/filesystem.pike:1.56
Rev: server/modules/misc/contenttypes.pike:1.13
Rev: server/protocols/http.pike:1.142

1999-07-05

1999-07-05 17:58:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed MultiRangeWrapper->query_fd().

Rev: server/protocols/http.pike:1.141

1999-07-04

1999-07-04 19:14:57 by David Hedbor <david@hedbor.org>

Added the accept-ranges header

Rev: server/protocols/http.pike:1.126

1999-07-04 18:52:24 by David Hedbor <david@hedbor.org>

Added the accept-ranges header

Rev: server/protocols/http.pike:1.130

1999-07-04 18:40:37 by David Hedbor <david@hedbor.org>

Range bugfixes

Rev: server/protocols/http.pike:1.125

1999-07-04 18:39:43 by David Hedbor <david@hedbor.org>

removed redundant code

Rev: server/protocols/http.pike:1.129

1999-07-04 18:39:12 by David Hedbor <david@hedbor.org>

removed redundant code

Rev: server/protocols/http.pike:1.140

1999-07-04 18:32:20 by David Hedbor <david@hedbor.org>

Range bugfixes.

Rev: server/protocols/http.pike:1.139

1999-07-04 18:28:01 by David Hedbor <david@hedbor.org>

Range bug fixes

Rev: server/protocols/http.pike:1.128

1999-07-02

1999-07-02 20:50:03 by David Hedbor <david@hedbor.org>

Removed range debug, made range log option a globvar instead of virtserver globvar

Rev: server/base_server/configuration.pike:1.203
Rev: server/base_server/roxen.pike:1.303
Rev: server/protocols/http.pike:1.138

1999-07-02 20:33:55 by David Hedbor <david@hedbor.org>

Removed debug, added range error code descs.

Rev: server/protocols/http.pike:1.124

1999-07-02 20:32:35 by David Hedbor <david@hedbor.org>

Added optional range handling (global variable)

Rev: server/base_server/roxen.pike:1.352
Rev: server/protocols/http.pike:1.127

1999-07-02 18:21:09 by David Hedbor <david@hedbor.org>

Added optional Ranges support (must enable global variable)

Rev: server/base_server/roxen.pike:1.313
Rev: server/protocols/http.pike:1.123

1999-06-30

1999-06-30 21:09:18 by David Hedbor <david@hedbor.org>

First version of Range implementation. Should be correct and complete.

Rev: server/base_server/configuration.pike:1.202
Rev: server/protocols/http.pike:1.137

1999-06-01

1999-06-01 11:56:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Applied Netscape CONNECT request patch.

Rev: server/protocols/http.pike:1.126

1999-05-27

1999-05-27 20:37:49 by Stephen R. van den Berg <srb@cuci.nl>

FD-leak patch w/ keep-alive from Stephen van den Berg

Rev: server/protocols/http.pike:1.136

1999-05-27 20:37:13 by Stephen R. van den Berg <srb@cuci.nl>

FD-leak patch w/ keep-alive from Stephen van den Berg

Rev: server/protocols/http.pike:1.122

1999-05-27 20:36:30 by David Hedbor <david@hedbor.org>

Removed incorrect line from patch

Rev: server/protocols/http.pike:1.125

1999-05-27 20:32:24 by Stephen R. van den Berg <srb@cuci.nl>

FD-leak patch w/ keep-alive from Stephen van den Berkg

Rev: server/protocols/http.pike:1.124

1999-05-23

1999-05-23 23:31:21 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Reverted patch.

Rev: server/protocols/http.pike:1.135

1999-05-23 23:19:24 by Henrik Grubbström (Grubba) <grubba@grubba.org>

end() now zapps the file mapping, since it can contain objects which have
references to ourselves.

Rev: server/protocols/http.pike:1.134

1999-05-20

1999-05-20 14:22:34 by Per Hedbor <ph@opera.com>

indentation change

Rev: server/protocols/http.pike:1.133

1999-05-15

1999-05-15 17:43:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Moved support for IP-less virutal hosting here.

Rev: server/protocols/http.pike:1.132

1999-05-06

1999-05-06 00:41:58 by Martin Stjernholm <mast@lysator.liu.se>

Removed explicit destruct of my_fd that breaks ssl3.

Rev: server/protocols/http.pike:1.123

1999-04-30

1999-04-30 11:30:21 by Johan Schön <js@opera.com>

\r\n compability changes in ftp.pike
Added date to backtrace in http.pike
(Reindenting in ssl3.pike)

Rev: server/protocols/ftp.pike:1.99
Rev: server/protocols/http.pike:1.122
Rev: server/protocols/ssl3.pike:1.48

1999-04-22

1999-04-22 09:34:29 by Per Hedbor <ph@opera.com>

Optimized (roxen) profiling when using per-file level granuality

Rev: server/protocols/http.pike:1.131

1999-04-17

1999-04-17 21:34:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

start_sender() now takes the callback as argument.
Thanks to Wilhelm Köhler <wk@cs.tu-berlin.de> for the suggestion.

Rev: server/protocols/http.pike:1.130

1999-04-16

1999-04-16 15:28:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for Stdio.sendfile().

Rev: server/protocols/http.pike:1.129

1999-03-18

1999-03-18 20:35:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor change.

Rev: server/protocols/http.pike:1.128

1999-03-18 19:56:45 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Somewhat more lenient parsing of requests.

Rev: server/protocols/http.pike:1.127

1999-03-18 00:45:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Kluge for broken proxy requests by Netscape 4.5.

Rev: server/protocols/http.pike:1.126

1999-02-15

1999-02-15 23:24:30 by Per Hedbor <ph@opera.com>

Now uses functions from configuration.pike instead

Rev: server/protocols/http.pike:1.125

1999-01-17

1999-01-17 15:43:40 by Peter Bortas <zino@lysator.liu.se>

Reverted to working version.

Rev: server/protocols/http.pike:1.121

1999-01-14

1999-01-14 02:49:37 by David Hedbor <david@hedbor.org>

Added CONNECT method.

Rev: server/protocols/http.pike:1.124

1999-01-14 02:47:22 by David Hedbor <david@hedbor.org>

Added connect method.

Rev: server/protocols/http.pike:1.120

1999-01-14 02:29:14 by David Hedbor <david@hedbor.org>

Check for a valid request method before handling request. If it isn't
valid, deny the request with a "Method not implemented".

Rev: server/protocols/http.pike:1.119
Rev: server/protocols/ssl3.pike:1.44

1999-01-14 02:22:25 by David Hedbor <david@hedbor.org>

Check for a valid request method before handling request. If it isn't valid, deny.

Rev: server/protocols/http.pike:1.123
Rev: server/protocols/https.pike:1.3

1998-12-19

1998-12-19 02:40:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some extra debug for bad requests.

Rev: server/protocols/http.pike:1.122

1998-11-18

1998-11-18 04:54:36 by Per Hedbor <ph@opera.com>

Better locale support, moved parse_rxml to the configuration object, started workd on the new configuration interface

Rev: server/base_server/cache.pike:1.22
Rev: server/base_server/config/describers.pike:1.58
Rev: server/base_server/config/low_describers.pike:1.28
Rev: server/base_server/configlocale.pike:1.1
Rev: server/base_server/configuration.pike:1.167
Rev: server/base_server/fonts.pike:1.25
Rev: server/base_server/mainconfig.pike:1.116
Rev: server/base_server/module.pike:1.36
Rev: server/base_server/module_support.pike:1.19
Rev: server/base_server/roxen.pike:1.252
Rev: server/base_server/roxenlib.pike:1.89
Rev: server/base_server/roxenloader.pike:1.80
Rev: server/base_server/rxml.pike:1.1
Rev: server/base_server/wizard.pike:1.77
Rev: server/config_actions/cachestatus.pike:1.4
Rev: server/config_actions/debuginformation.pike:1.16
Rev: server/config_actions/feature_list.pike:1.4
Rev: server/config_actions/flush.pike:1.7
Rev: server/config_actions/listfonts.pike:1.4
Rev: server/config_actions/problems.pike:1.12
Rev: server/config_actions/reloadconfiginterface.pike:1.9
Rev: server/etc/include/roxen.h:1.8
Rev: server/etc/roxen_master.pike:1.49
Rev: server/modules/directories/indexfiles.pike:1.7
Rev: server/modules/filters/auto_gzip.pike:1.5
Rev: server/modules/graphics/business_graphics/business.pike:1.110
Rev: server/modules/graphics/counter.pike:1.22
Rev: server/modules/graphics/graphic_text.pike:1.156
Rev: server/modules/graphics/pimage.pike:1.12
Rev: server/modules/graphics/rimage/rimage.pike:1.8
Rev: server/modules/logging/home_logger.pike:1.19
Rev: server/modules/misc/gtext_creator.pike:1.1
Rev: server/modules/misc/language.pike:1.17
Rev: server/modules/misc/mirrorserver.pike:1.14
Rev: server/modules/proxies/ftpgateway.pike:1.26
Rev: server/modules/proxies/gopher.pike:1.15
Rev: server/modules/proxies/wais.pike:1.12
Rev: server/modules/scripting/cgi.pike:1.106
Rev: server/modules/scripting/pikescript.pike:1.30
Rev: server/modules/tags/doc/graphic_text:1.5
Rev: server/modules/tags/htmlparse.pike:1.153
Rev: server/modules/tags/lpctag.pike:1.19
Rev: server/modules/tags/wizard_tag.pike:1.18
Rev: server/protocols/ftp.pike:1.97
Rev: server/protocols/http.pike:1.121
Rev: server/start:1.54

1998-11-04

1998-11-04 20:32:01 by Peter Bortas <zino@lysator.liu.se>

Reenabled unquoting of URLs in a slightly less broken way.

Rev: server/protocols/http.pike:1.118

1998-11-04 20:29:04 by Peter Bortas <zino@lysator.liu.se>

Reenabled unquoting of URLs in a slightly less broken way.

Rev: server/protocols/http.pike:1.120

1998-10-26

1998-10-26 21:24:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added ready_to_receive().

Rev: server/protocols/http.pike:1.119

1998-10-18

1998-10-18 21:25:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added support for the "New-URI" header.

Rev: server/protocols/http.pike:1.118

1998-10-01

1998-10-01 23:37:39 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now allows MODULE_LAST modules to return 1 to recurse.

Rev: server/config_actions/resolv.pike:1.17
Rev: server/protocols/http.pike:1.117

1998-09-15

1998-09-15 22:35:10 by Peter J. Holzer <hjp@wsr.ac.at>

Applied another language module patch by Peter J. Holzer <hjp@wsr.ac.at>.

Rev: server/protocols/http.pike:1.116

1998-08-25

1998-08-25 22:50:49 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some more debug.

Rev: server/protocols/http.pike:1.115

1998-08-21

1998-08-21 23:02:02 by Johan Schön <js@opera.com>

Multiple variables with the same name weren't concatenated with \0 when using multipart/form-data.

Rev: server/protocols/http.pike:1.114

1998-08-20

1998-08-20 18:04:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved debug

Rev: server/protocols/http.pike:1.113

1998-08-20 07:41:47 by Per Hedbor <ph@opera.com>

Added support for directory level profiling

Rev: server/protocols/http.pike:1.112

1998-08-10

1998-08-10 21:46:09 by Per Hedbor <ph@opera.com>

Optimized the header parsing somewhat

Rev: server/protocols/http.pike:1.111

1998-08-03

1998-08-03 09:40:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Restored extra_extension by popular demand.

Rev: server/base_server/configuration.pike:1.148
Rev: server/protocols/http.pike:1.110

1998-07-25

1998-07-25 04:20:45 by David Hedbor <david@hedbor.org>

Made reloading of configurations truely work. Now only changed or new
configs are reloaded. Deleted configs (and modules from individual
configs) are removed. Also this new functionality has been attached to
the SIGHUP signal. This means that by doing a "kill -HUP <roxenpid>"
all configurations will be reloaded. You no longer have to restart
Roxen when adding new configs.

Rev: server/base_server/read_config.pike:1.23
Rev: server/base_server/roxen.pike:1.226
Rev: server/config_actions/reloadconfigurations.pike:1.6
Rev: server/modules/filesystems/incoming.pike:1.4
Rev: server/protocols/http.pike:1.109

1998-07-14

1998-07-14 21:41:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now saves all the headers received from the client.

Rev: server/protocols/http.pike:1.108

1998-07-03

1998-07-03 15:57:55 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now doesn't claim to use protocols newer than HTTP/1.1.

Rev: server/protocols/http.pike:1.107

1998-06-27

1998-06-27 14:53:19 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Improved HTTP/0.9 support.

Rev: server/protocols/http.pike:1.106

1998-06-02

1998-06-02 13:08:32 by Per Hedbor <ph@opera.com>

Fixes for keep-alive

Rev: server/protocols/http.pike:1.105

1998-05-25

1998-05-25 16:43:12 by Per Hedbor <ph@opera.com>

Fixes to hide confident information in the request debug

Rev: server/protocols/http.pike:1.104

1998-05-22

1998-05-22 01:51:31 by David Hedbor <david@hedbor.org>

Fixed a bug that made connections which didn't send any data not time out.

Rev: CHANGES:1.116
Rev: server/protocols/http.pike:1.103

1998-05-21

1998-05-21 23:25:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Disabled some debug.

Rev: server/protocols/http.pike:1.102

1998-05-17

1998-05-17 23:51:06 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Updated to semi-new Pike.

Rev: server/protocols/http.pike:1.101

1998-05-17 23:43:44 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Somewhat more paranoid.

Rev: server/protocols/http.pike:1.100

1998-05-12

1998-05-12 18:11:14 by Johan Schön <js@opera.com>

typo

Rev: server/protocols/http.pike:1.99

1998-05-12 12:20:30 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixe bug in format_backtrace().

Rev: server/protocols/http.pike:1.98

1998-05-11

1998-05-11 21:57:43 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Minor bugfix.

Rev: server/protocols/http.pike:1.97

1998-05-06

1998-05-06 22:18:33 by Per Hedbor <ph@opera.com>

even more fancy error messages

Rev: server/protocols/http.pike:1.96

1998-04-30

1998-04-30 16:17:32 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed cookie-parsing bug.

Rev: server/protocols/http.pike:1.95

1998-04-24

1998-04-24 08:44:53 by Per Hedbor <ph@opera.com>

Fixed so HTTP will not time out when using keep alive. Removed extra_extension.

Rev: server/protocols/http.pike:1.94

1998-04-13

1998-04-13 04:36:17 by David Hedbor <david@hedbor.org>

Storing MSIE browser info in id->misc.

Rev: server/protocols/http.pike:1.93

1998-04-03

1998-04-03 19:14:16 by Per Hedbor <ph@opera.com>

Changed indent level...

Rev: server/protocols/http.pike:1.92

1998-04-02

1998-04-02 23:43:00 by David Hedbor <david@hedbor.org>

Fixed so that it works if the autogunzip supports is set, by:
1) setting suppots to (<>) per default
2) sending the supports mapping to the find_supports function.

Rev: server/base_server/roxen.pike:1.180
Rev: server/protocols/http.pike:1.91

1998-03-31

1998-03-31 20:00:40 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Now checks accept-encoding for gzip.

Rev: server/protocols/http.pike:1.90

1998-03-29

1998-03-29 01:17:45 by David Hedbor <david@hedbor.org>

Fixed a typo in the debug.

Rev: server/protocols/http.pike:1.89

1998-03-29 01:16:04 by David Hedbor <david@hedbor.org>

More debug...

Rev: server/base_server/smartpipe.pike:1.16
Rev: server/protocols/http.pike:1.88

1998-03-29 00:46:17 by David Hedbor <david@hedbor.org>

typofix

Rev: server/protocols/http.pike:1.87

1998-03-29 00:44:09 by David Hedbor <david@hedbor.org>

mode debug

Rev: server/protocols/http.pike:1.86

1998-03-29 00:34:02 by David Hedbor <david@hedbor.org>

Fixes.

Rev: server/base_server/smartpipe.pike:1.15
Rev: server/protocols/http.pike:1.85

1998-03-29 00:27:14 by David Hedbor <david@hedbor.org>

Another try to fix it..

Rev: server/base_server/smartpipe.pike:1.13
Rev: server/protocols/http.pike:1.84

1998-03-28

1998-03-28 23:34:21 by David Hedbor <david@hedbor.org>

Fixed a small typo.

Rev: server/protocols/http.pike:1.83

1998-03-28 23:30:02 by David Hedbor <david@hedbor.org>

More debug added.

Rev: server/base_server/smartpipe.pike:1.10
Rev: server/protocols/http.pike:1.82

1998-03-28 23:13:32 by David Hedbor <david@hedbor.org>

Starting of the the timer call_out (ie the one that keeps track on how
long time data piping has been in progress) done only if FD_DEBUG is
defined.

Rev: server/protocols/http.pike:1.81

1998-03-28 22:06:27 by David Hedbor <david@hedbor.org>

bugfix

Rev: server/protocols/http.pike:1.80

1998-03-28 22:03:33 by David Hedbor <david@hedbor.org>

Fixed a typo.

Rev: server/protocols/http.pike:1.79

1998-03-28 21:55:32 by David Hedbor <david@hedbor.org>

More debug added. A timeout for keep-alive requests also added (there
were no timeout at all for non-pipelined requests earlier).

Rev: server/protocols/http.pike:1.78

1998-03-28 01:25:01 by David Hedbor <david@hedbor.org>

hosts.pike: fixed a "indexing on basic type". http.pike: fixed some problems
in the backtrace generation and added a "catch" to it.

Rev: server/base_server/hosts.pike:1.24
Rev: server/protocols/http.pike:1.77

1998-03-26

1998-03-26 17:21:53 by Martin Stjernholm <mast@lysator.liu.se>

Removed bogus \0:es at eof.

Rev: server/protocols/http.pike:1.76

1998-03-26 11:38:18 by Per Hedbor <ph@opera.com>

Changed name of roxen->ai_diagnose_error to roxen->diagnose_error

Rev: server/protocols/http.pike:1.75

1998-03-26 11:37:30 by Per Hedbor <ph@opera.com>

Added support for explanation of the internal server error messages. None available yet, though

Rev: server/base_server/roxen.pike:1.179
Rev: server/protocols/http.pike:1.74

1998-03-26 08:35:42 by Per Hedbor <ph@opera.com>

Fixed formatting of the 'generate text-only version of error message' page

Rev: server/protocols/http.pike:1.73

1998-03-26 08:26:05 by Per Hedbor <ph@opera.com>

Fixed the 'add cvs version to error message' code

Rev: server/modules/scripting/newpikescript.pike:1.4
Rev: server/protocols/http.pike:1.72

1998-03-26 07:51:52 by Per Hedbor <ph@opera.com>

Added FD_DEBUG #ifdefs around all mark_fd(), and a --fd-debug option to the startscript

Rev: server/base_server/configuration.pike:1.113
Rev: server/base_server/disk_cache.pike:1.35
Rev: server/base_server/roxen.pike:1.178
Rev: server/base_server/roxenloader.pike:1.65
Rev: server/base_server/socket.pike:1.12
Rev: server/config_actions/openfiles.pike:1.3
Rev: server/modules/filters/htaccess.pike:1.32
Rev: server/modules/proxies/ftpgateway.pike:1.21
Rev: server/modules/proxies/proxy.pike:1.30
Rev: server/protocols/ftp.pike:1.88
Rev: server/protocols/http.pike:1.71

1998-03-26 07:31:03 by David Hedbor <david@hedbor.org>

Changed debug to be used when FD_DEBUG is set. It's automatically
enabled if DEBUG is defined as well.

Rev: server/etc/include/config.h:1.13
Rev: server/protocols/http.pike:1.70

1998-03-26 07:16:16 by David Hedbor <david@hedbor.org>

Added mark_fd debug to help tracking lost FDs.

Rev: server/protocols/http.pike:1.69

1998-03-26 01:03:24 by David Hedbor <david@hedbor.org>