~ubuntu-branches/ubuntu/oneiric/squid3/oneiric-security

« back to all changes in this revision

Viewing changes to src/internal.cc

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2007-05-13 16:03:16 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513160316-2h6kn6h1z0q1fvyo
Tags: 3.0.PRE6-1
* New upstream release
  - Removed patches integrated upsteam:
    + 04-m68k-ftbfs

* debian/rules
  - Enable delay pools (Closes: #410785)
  - Enable cache digests (Closes: #416631)
  - Enable ICAP client
  - Raised Max Filedescriptor limit to 65536

* debian/control
  - Added real package dependency for httpd in squid3-cgi

* debian/patches/02-makefile-defaults
  - Fix default configuration file for cachemgr.cgi (Closes: #416630)

* debian/squid3.postinst
  - Fixed bashish in postinst (Closes: #411797)

* debian/patches/05-helpers-typo
  - Added upstream patch fixing compilation error in src/helpers.cc

* debian/patches/06-mem-obj-reference
  - Added upstream patch fixing a mem_obj reference in src/store.cc

* debian/patches/07-close-icap-connections
  - Added upstream patch fixing icap connection starvation

* debian/squid3.rc
  - Added LSB-compliant description to rc script

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
 
 * $Id: internal.cc,v 1.43 2006/08/25 15:22:34 serassio Exp $
 
3
 * $Id: internal.cc,v 1.45 2007/04/28 22:26:37 hno Exp $
4
4
 *
5
5
 * DEBUG: section 76    Internal Squid Object handling
6
6
 * AUTHOR: Duane, Alex, Henrik
51
51
{
52
52
    ErrorState *err;
53
53
    const char *upath = request->urlpath.buf();
54
 
    debug(76, 3) ("internalStart: %s requesting '%s'\n",
55
 
                  inet_ntoa(request->client_addr), upath);
 
54
    debugs(76, 3, "internalStart: " << inet_ntoa(request->client_addr) << " requesting '" << upath << "'");
56
55
 
57
56
    if (0 == strcmp(upath, "/squid-internal-dynamic/netdb")) {
58
57
        netdbBinaryExchange(entry);
74
73
                          squid_curtime,
75
74
                          -2);
76
75
        entry->replaceHttpReply(reply);
77
 
        storeAppend(entry, msgbuf, strlen(msgbuf));
 
76
        entry->append(msgbuf, strlen(msgbuf));
78
77
        entry->complete();
79
78
    } else {
80
79
        debugObj(76, 1, "internalStart: unknown request:\n",