~ubuntu-branches/ubuntu/gutsy/apache2/gutsy-updates

« back to all changes in this revision

Viewing changes to include/httpd.h

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Fritsch, Stefan Fritsch, Peter Samuelson
  • Date: 2007-07-01 19:57:51 UTC
  • mfrom: (0.8.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070701195751-kcags6dpm5up3li5
Tags: 2.2.4-1
[ Stefan Fritsch ]
* Urgency medium for security fix
* Fix CVE-2007-1863: DoS in mod_cache
* New upstream version (Closes: #427050)
  - Fixes "proxy: error reading status line from remote server"
    (Closes: #410331)
* Fix CVE-2007-1862: mod_mem_cache DoS (introduced in 2.2.4)
* Change logrotate script to use reload instead of restart.
  (Closes: #298689)
* chmod o-rx /var/log/apache2 (Closes: #291841)
* chmod o-x suexec (Closes: #431048)
* Update patch for truncated mod_cgi 500 responses from upstream SVN
  (Closes: #412580)
* Don't use AddDefaultCharset for our docs (Closes: #414429)
* fix options syntax in sites-available/default (Closes: #419539)
* Move conf.d include to the end of apache2.conf (Closes: #305933)
* Remove log, cache, and lock files on purge (Closes: #428887)
* Ship /usr/lib/cgi-bin (Closes: #415698)
* Add note to README.Debian how to read docs (Closes: #350822)
* Document pid file name (Closes: #350286)
* Update Standards-Version (no changes needed)
* Fix some lintian warnings, add some overrides
* Start apache when doing a "restart" even if it was not running
  (Closes: #384682)
* reload config in apache2-doc postinst (Closes: #289289)
* don't fail in prerm if apache is not running (Closes: #418536)
* Suggest apache2-doc and www-browser (Closes: #399056)
* Make init script always display a warning if NO_START=1 since
  VERBOSE=yes is not the default anymore (Closes: #430116)
* Replace apache2(8) man page with a more current version
* Add httxt2dbm(8) man page
* Show -X option in help message (Closes: #391817)
* remove sick-hack-to-update-modules
* don't depend on procps on hurd (Closes: #431125)

[ Peter Samuelson ]
* Add shlibs:Depends to apache2.2-common.

Show diffs side-by-side

added added

removed removed

Lines of Context:
420
420
AP_DECLARE(void) ap_get_server_revision(ap_version_t *version);
421
421
 
422
422
/**
423
 
 * Get the server version string
 
423
 * Get the server version string, as controlled by the ServerTokens directive
424
424
 * @return The server version string
 
425
 * @deprecated @see ap_get_server_banner() and ap_get_server_description()
425
426
 */
426
427
AP_DECLARE(const char *) ap_get_server_version(void);
427
428
 
428
429
/**
429
 
 * Add a component to the version string
 
430
 * Get the server banner in a form suitable for sending over the
 
431
 * network, with the level of information controlled by the
 
432
 * ServerTokens directive.
 
433
 * @return The server banner
 
434
 */
 
435
AP_DECLARE(const char *) ap_get_server_banner(void);
 
436
 
 
437
/**
 
438
 * Get the server description in a form suitable for local displays,
 
439
 * status reports, or logging.  This includes the detailed server
 
440
 * version and information about some modules.  It is not affected
 
441
 * by the ServerTokens directive.
 
442
 * @return The server description
 
443
 */
 
444
AP_DECLARE(const char *) ap_get_server_description(void);
 
445
 
 
446
/**
 
447
 * Add a component to the server description and banner strings
 
448
 * (The latter is returned by the deprecated function
 
449
 * ap_get_server_version().)
430
450
 * @param pconf The pool to allocate the component from
431
451
 * @param component The string to add
432
452
 */
518
538
#define ap_is_HTTP_CLIENT_ERROR(x) (((x) >= 400)&&((x) < 500))
519
539
/** is the status code a server error  */
520
540
#define ap_is_HTTP_SERVER_ERROR(x) (((x) >= 500)&&((x) < 600))
 
541
/** is the status code a (potentially) valid response code?  */
 
542
#define ap_is_HTTP_VALID_RESPONSE(x) (((x) >= 100)&&((x) < 600))
521
543
 
522
544
/** should the status code drop the connection */
523
545
#define ap_status_drops_connection(x) \