~ubuntu-branches/ubuntu/raring/dansguardian/raring

« back to all changes in this revision

Viewing changes to src/HTTPHeader.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Wirt, Thomas Viehmann
  • Date: 2008-10-13 09:29:35 UTC
  • mfrom: (1.1.7 upstream) (7.1.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081013092935-g8uz3kgfjs37ikgv
Tags: 2.9.9.7-2
[ Thomas Viehmann ]
OptionContainer.cpp: If you need to iterate through all lines in the
config file to find a field, at least don't abuse the configfile deque
by accessing it as if it was an array with signed index.
Works way better on arm, too, i.e. closes: #493047.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
// INCLUDES
32
32
 
33
 
#include "platform.h"
34
 
 
35
33
#include <deque>
36
34
 
37
35
#include "String.hpp"
62
60
        // - this allows us to re-open the proxy connection on pconns if squid's end has
63
61
        // timed out but the client's end hasn't. not much use with NTLM, since squid
64
62
        // will throw a 407 and restart negotiation, but works well with basic & others.
65
 
        void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(exception);
 
63
        void out(Socket *peersock, Socket *sock, int sendflag, bool reconnect = false) throw(std::exception);
66
64
 
67
65
        // discard remainder of POST data
68
66
        void discard(Socket *sock);