]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
13 years agoWindows: cleanup Squid OS detection macros
Amos Jeffries [Mon, 8 Oct 2012 05:21:11 +0000 (23:21 -0600)] 
Windows: cleanup Squid OS detection macros

* _SQUID_WINDOWS_  for any Windows build specific code
* _SQUID_CYGWIN_   for CygWin Windows build specific code
* _SQUID_MINGW_    for MinGW Windows build specific code

13 years agoWindows: fix detection of GNU atomis operations
Amos Jeffries [Mon, 8 Oct 2012 04:33:15 +0000 (22:33 -0600)] 
Windows: fix detection of GNU atomis operations

On MinGW the GNU atomis operatiosn symbols are defined but do not work.
We require a run-time test to detect problems. Not just a compiler check.

13 years agoWindows: support customization of --prefix= via compat/autoconf.h
Amos Jeffries [Mon, 8 Oct 2012 04:27:26 +0000 (22:27 -0600)] 
Windows: support customization of --prefix= via compat/autoconf.h

Rather than defining DEFAULT_PREFIX on the compiler command line this
builds its value into autoconf.h for use whenever needed. Avoiding
otential issues with buggy Makefile.am coding.

Also allows the --prefix value to be sourced from the autoconf internal
default settings instead of requiring a manual --prefix parameter for
SNMP module to build and link properly.

13 years agoWindows: disable Mmapped DiskIO support
Francesco Chemolli [Mon, 8 Oct 2012 04:13:19 +0000 (22:13 -0600)] 
Windows: disable Mmapped DiskIO support

MinGW does not always supply mmap.

TODO:
 Add proper feature detection to decide when this IS available on Windows.
 Use the Windows native mmap functionality.

13 years agoTypo in rev12352
Amos Jeffries [Sun, 7 Oct 2012 05:00:02 +0000 (23:00 -0600)] 
Typo in rev12352

13 years agoFix error: 'opt_parse_cfg_only' was not declared in this scope
Amos Jeffries [Sun, 7 Oct 2012 03:16:30 +0000 (21:16 -0600)] 
Fix error: 'opt_parse_cfg_only' was not declared in this scope

13 years agoRelease Notes: 3.3 updates
Amos Jeffries [Sun, 7 Oct 2012 03:11:39 +0000 (21:11 -0600)] 
Release Notes: 3.3 updates

13 years agoPolish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens
Amos Jeffries [Sat, 6 Oct 2012 11:59:07 +0000 (05:59 -0600)] 
Polish: use DBG_PARSE_NOTE to warn about deprecated logformat tokens

13 years agoBranch 3.3.0.0
Automatic source maintenance [Sat, 6 Oct 2012 04:24:49 +0000 (22:24 -0600)] 
Branch 3.3.0.0

13 years agoPrep for 3.2.2
Amos Jeffries [Sat, 6 Oct 2012 02:54:53 +0000 (20:54 -0600)] 
Prep for 3.2.2

13 years agoSourceFormat Enforcement
Automatic source maintenance [Sat, 6 Oct 2012 00:13:17 +0000 (18:13 -0600)] 
SourceFormat Enforcement

13 years agoDo not check 'reply content_length is too big' condition twice.
Alex Rousskov [Fri, 5 Oct 2012 23:36:22 +0000 (17:36 -0600)] 
Do not check 'reply content_length is too big' condition twice.

The check got duplicated was

4410
committer: hno
branch nick: HEAD
timestamp: Wed 2000-05-03 00:49:26 +0000
message:
  hno squid-2.2.STABLE2.to_large_objects-2.patch
  Squid-2.2.STABLE2: Don't swap out objects > maximum_object_size

13 years agoAdded missing source files in recipe for testStatHist
Francesco Chemolli [Fri, 5 Oct 2012 15:56:08 +0000 (17:56 +0200)] 
Added missing source files in recipe for testStatHist

13 years agoMove fatal family of functions to own implementation and stub files.
Francesco Chemolli [Fri, 5 Oct 2012 13:38:19 +0000 (15:38 +0200)] 
Move fatal family of functions to own implementation and stub files.

13 years agoMerged from trunk
Francesco Chemolli [Fri, 5 Oct 2012 13:27:37 +0000 (15:27 +0200)] 
Merged from trunk

13 years agoShuffled fatal family of functions into own implementation.
Francesco Chemolli [Fri, 5 Oct 2012 13:10:15 +0000 (15:10 +0200)] 
Shuffled fatal family of functions into own implementation.
Created stub for fatal.cc.
Move all files to src/ due to their dependencies.

13 years agoPolish: convert several opt_parse_cfg_only to DBG_PARSE_NOTE
Amos Jeffries [Fri, 5 Oct 2012 10:26:39 +0000 (22:26 +1200)] 
Polish: convert several opt_parse_cfg_only to DBG_PARSE_NOTE

13 years agoMerged from trunk
Francesco Chemolli [Fri, 5 Oct 2012 07:27:05 +0000 (09:27 +0200)] 
Merged from trunk

13 years agoSourceFormat merge: removed CVS-Id tags, removed unnecessary extern and SQUIDCEXTERN...
Francesco Chemolli [Fri, 5 Oct 2012 07:26:35 +0000 (09:26 +0200)] 
SourceFormat merge: removed CVS-Id tags, removed unnecessary extern and SQUIDCEXTERN declarations

13 years agoMoved fatal functions out of tools.cc and into own source file in lib/fatal.cc
Francesco Chemolli [Thu, 4 Oct 2012 13:01:09 +0000 (15:01 +0200)] 
Moved fatal functions out of tools.cc and into own source file in lib/fatal.cc

13 years agoRemoved leftover CVS-Id markers
Francesco Chemolli [Thu, 4 Oct 2012 11:10:17 +0000 (13:10 +0200)] 
Removed leftover CVS-Id markers

13 years agoRemoved unnecessary extern declarations.
Francesco Chemolli [Thu, 4 Oct 2012 09:14:06 +0000 (11:14 +0200)] 
Removed unnecessary extern declarations.
Changed mismatching class/struct declaration in fde.h
Created default constructor for _fde_disk and moved there proper initialization
Removed some dead function declarations

13 years agoSourceFormat Enforcement
Automatic source maintenance [Thu, 4 Oct 2012 00:23:44 +0000 (18:23 -0600)] 
SourceFormat Enforcement

13 years agoremoved many SQUIDCEXTERN declarations
Francesco Chemolli [Wed, 3 Oct 2012 17:32:57 +0000 (19:32 +0200)] 
removed many SQUIDCEXTERN declarations

13 years agosourceformat: split protos.h into more specific headers, change many functions' likag...
Francesco Chemolli [Wed, 3 Oct 2012 17:07:34 +0000 (19:07 +0200)] 
sourceformat: split protos.h into more specific headers, change many functions' likage to c++.

13 years agoMerged from trunk
Francesco Chemolli [Wed, 3 Oct 2012 14:29:52 +0000 (16:29 +0200)] 
Merged from trunk

13 years agoBug 3661: Segmentation fault when using more than 1 worker
Amos Jeffries [Wed, 3 Oct 2012 10:18:42 +0000 (22:18 +1200)] 
Bug 3661: Segmentation fault when using more than 1 worker

Previous change to Ipc::Mem::PageStack making variable arrays into
dynamically-allocated arrays added an allocate after use bug.

13 years agoMerged from trunk
Francesco Chemolli [Wed, 3 Oct 2012 07:34:10 +0000 (09:34 +0200)] 
Merged from trunk

13 years agoFix website config display of default settings
Amos Jeffries [Wed, 3 Oct 2012 00:44:13 +0000 (12:44 +1200)] 
Fix website config display of default settings

The website page cfgman builder script was omitted when adding the
DEFAULT_DOC parameter and making DEFAULT / DEFAULT_IF_NONE support
multi-line values.

13 years ago- Fix a memory leak in FwdState::sslCrtvdCheckForErrors method: The allocated
Christos Tsantilas [Tue, 2 Oct 2012 16:15:40 +0000 (19:15 +0300)] 
- Fix a memory leak in FwdState::sslCrtvdCheckForErrors method: The allocated
  ACLFilledChecklist object should released before leave this method
polish code a little:
   * debuging messages fix
   * Fix debug section in ssl/helper.cc file

13 years agoBug 3130: helpers are crashing too rapidly
Amos Jeffries [Tue, 2 Oct 2012 02:18:50 +0000 (14:18 +1200)] 
Bug 3130: helpers are crashing too rapidly

As discussed quite many months ago. This reduces the FATAL when helpers
crash/exit to a critical level ERROR have responded with useful reply to
at least one lookup.

The result is that Squid can now cope with helpers written in languages
which cannot loop infinitely. For example; PHP helpers often exit after
a timeout, broken scripts written to respond and exit immediately,
and helpers which encounter some permissions error and respond only with
"ERR" or "BH" results before aborting.

13 years agoPolish: de-duplicate helper statistics objects
Amos Jeffries [Tue, 2 Oct 2012 01:55:36 +0000 (13:55 +1200)] 
Polish: de-duplicate helper statistics objects

* Combine the stats structure on per-helper server classes. For more
  consistent statistic gathering.

* Add initStats() method to initialize statistics variables correctly.
  Previously only done for some counters on stateless helper objects.

* Add missing accounting of pending lookups in stateful helper code.

* Add counter for replies received from the helper.

* Add reporting of replies received back from each helper.

There are no logic or decision making logics affected by these changes.
The new increment/decrement and stats are purely affecting statistical
report outputs.

FUTURE TODO:
* replace the 'busy' flag on stateful helpers with pending>0 check
  as used by stateless helpers to indicate queue count.

13 years agoCleanup: remove a wrong TODO
Amos Jeffries [Mon, 1 Oct 2012 22:47:10 +0000 (10:47 +1200)] 
Cleanup: remove a wrong TODO

Squid may need to use the hop-by-hop response headers. This is too early
to be removing them. the right place is in client-side before delivering
to the client. Squid already contains code to do it there.

13 years agoMerged from parent (ssl-cert-validator 12330).
Alex Rousskov [Fri, 28 Sep 2012 16:46:28 +0000 (10:46 -0600)] 
Merged from parent (ssl-cert-validator 12330).

13 years agoACLFilledChecklist::fd() sets the client, not server connection descriptor.
Alex Rousskov [Fri, 28 Sep 2012 16:31:25 +0000 (10:31 -0600)] 
ACLFilledChecklist::fd() sets the client, not server connection descriptor.

13 years agoMerged from parent (ssl-cert-validator 12329).
Alex Rousskov [Fri, 28 Sep 2012 15:54:59 +0000 (09:54 -0600)] 
Merged from parent (ssl-cert-validator 12329).

13 years agoFix ssl cert validator response codes
Christos Tsantilas [Thu, 27 Sep 2012 14:27:44 +0000 (17:27 +0300)] 
Fix ssl cert validator response codes

Cert validator should return:
 - "OK" in case none certificate error found
 - "ERR" in case one or more SSL certificate errors found
 - "BH" in case of internal helper error

13 years agoSmall memory leak in src ACL parse
Amos Jeffries [Thu, 27 Sep 2012 10:10:21 +0000 (04:10 -0600)] 
Small memory leak in src ACL parse

Fixes one minor memory leak when IPv6 is disabled and parsing an IPv6
address. For example the default localhost ACL ::1 value.

Caught by Valgrind:

==26647== 384 bytes in 4 blocks are definitely lost in loss record 1,132 of 1,726
==26647==    at 0x4C25A28: calloc (vg_replace_malloc.c:467)
==26647==    by 0x65B441: xcalloc (xalloc.cc:75)
==26647==    by 0x657B99: MemPoolMalloc::allocate() (MemPoolMalloc.cc:62)
==26647==    by 0x5A95B1: acl_ip_data::FactoryParse(char const*) (Ip.h:66)
==26647==    by 0x5AA8BD: ACLIP::parse() (Ip.cc:523)
==26647==    by 0x5E0A80: ACL::ParseAclLine(ConfigParser&, ACL**) (Acl.cc:174)
==26647==    by 0x4B0C0F: parse_line(char*) (cache_cf.cc:1252)
==26647==    by 0x4B2076: parseOneConfigFile(char const*, unsigned int) (cache_cf.cc:518)
==26647==    by 0x4B29D0: parseConfigFile(char const*) (cache_cf.cc:558)
==26647==    by 0x546B81: SquidMain(int, char**) (main.cc:1372)
==26647==    by 0x547445: main (main.cc:1215)

13 years agoRemoved duplicate empty lines
Francesco Chemolli [Tue, 25 Sep 2012 16:38:36 +0000 (18:38 +0200)] 
Removed duplicate empty lines

13 years agorenamed acl_size_t to AclSizeLimit, moved to own header in acl/
Francesco Chemolli [Tue, 25 Sep 2012 15:36:18 +0000 (17:36 +0200)] 
renamed acl_size_t to AclSizeLimit, moved to own header in acl/
Moved dwrite_q to disk.h, and _fde_disk to fde.h
Got rid of structs.h

13 years agoBug fix: The ACLFilledChecklist::fd set with wrong fd for Config.ssl_client.cert_erro...
Christos Tsantilas [Tue, 25 Sep 2012 14:51:20 +0000 (17:51 +0300)] 
Bug fix: The ACLFilledChecklist::fd set with wrong fd for Config.ssl_client.cert_error acl list

The Config.ssl_client.cert_error uses the server-side connection fd instead of
the client-side connection fd.

13 years agoSslBump stuck after error
Christos Tsantilas [Tue, 25 Sep 2012 13:58:44 +0000 (16:58 +0300)] 
SslBump stuck after error

When bump-server-first code in trunk encounters a certificate validation error,
the corresponding CONNECT transaction gets stuck.

13 years agoPolish the ACLFilledChecklist::fd related documentation
Christos Tsantilas [Tue, 25 Sep 2012 13:49:25 +0000 (16:49 +0300)] 
Polish the ACLFilledChecklist::fd related documentation

13 years agoUndo/uncommit the r12328 patch
Christos Tsantilas [Tue, 25 Sep 2012 13:46:57 +0000 (16:46 +0300)] 
Undo/uncommit the r12328 patch

The documentation is wrong and should applied as separate patches

13 years agoPolish the ACLFilledChecklist::fd related documentation
Christos Tsantilas [Tue, 25 Sep 2012 13:42:54 +0000 (16:42 +0300)] 
Polish the ACLFilledChecklist::fd related documentation

13 years agoMerged from trunk
Francesco Chemolli [Mon, 24 Sep 2012 19:34:52 +0000 (21:34 +0200)] 
Merged from trunk

13 years agomoved dread_ctrl to disk.h
Francesco Chemolli [Mon, 24 Sep 2012 19:27:10 +0000 (21:27 +0200)] 
moved dread_ctrl to disk.h

13 years agoMoved acl_tos and acl_nfmark to ip/qos/QosConfig.h
Francesco Chemolli [Mon, 24 Sep 2012 09:26:42 +0000 (11:26 +0200)] 
Moved acl_tos and acl_nfmark to ip/qos/QosConfig.h

13 years agoadded missing include
Francesco Chemolli [Sun, 23 Sep 2012 15:11:29 +0000 (17:11 +0200)] 
added missing include

13 years agoMoved sslproxy cert types to own header in ssl/
Francesco Chemolli [Sun, 23 Sep 2012 10:30:46 +0000 (12:30 +0200)] 
Moved sslproxy cert types to own header in ssl/
Added missing include in acl/FilledChecklist.h

13 years agoRemoved unused close_handler type and conn_close_pool
Francesco Chemolli [Sun, 23 Sep 2012 09:41:29 +0000 (11:41 +0200)] 
Removed unused close_handler type and conn_close_pool

13 years agoPrep for 3.1.21
Amos Jeffries [Sun, 23 Sep 2012 09:14:53 +0000 (03:14 -0600)] 
Prep for 3.1.21

13 years agoRemoved now-useless inclusions of structs.h in various places.
Francesco Chemolli [Sun, 23 Sep 2012 09:04:21 +0000 (11:04 +0200)] 
Removed now-useless inclusions of structs.h in various places.

13 years agoTypo in eDirectory_userip
Amos Jeffries [Sun, 23 Sep 2012 01:20:05 +0000 (13:20 +1200)] 
Typo in eDirectory_userip

13 years agoRemved cruft from structs.h
Francesco Chemolli [Sat, 22 Sep 2012 20:07:31 +0000 (22:07 +0200)] 
Remved cruft from structs.h

13 years agoMake IPC base path absolute in testRock
Francesco Chemolli [Sat, 22 Sep 2012 18:46:52 +0000 (20:46 +0200)] 
Make IPC base path absolute in testRock

13 years agorenamed snmp_request_t to SnmpRequest and moved to own header
Francesco Chemolli [Sat, 22 Sep 2012 15:07:57 +0000 (17:07 +0200)] 
renamed snmp_request_t to SnmpRequest and moved to own header

13 years agorenamed http_state_flags to HttpStateFlags and moved to own header file.
Francesco Chemolli [Sat, 22 Sep 2012 14:21:59 +0000 (16:21 +0200)] 
renamed http_state_flags to HttpStateFlags and moved to own header file.
Changed all boolean flags to bool type.

13 years agorenamed domain_ping to CachePeerDomainList and moved to own header file
Francesco Chemolli [Sat, 22 Sep 2012 13:26:23 +0000 (15:26 +0200)] 
renamed domain_ping to CachePeerDomainList and moved to own header file

13 years agoRenamed neighbor_type to NeighborTypeDomainList and moved to own header.
Francesco Chemolli [Sat, 22 Sep 2012 13:04:26 +0000 (15:04 +0200)] 
Renamed neighbor_type to NeighborTypeDomainList and moved to own header.

13 years agoFix AF code handling
Amos Jeffries [Sat, 22 Sep 2012 12:19:01 +0000 (00:19 +1200)] 
Fix AF code handling

Syntax is not "blob" [username]" but "[blob] username"

13 years agoUpdate ssl_crtd BH shortcut to use message=
Amos Jeffries [Sat, 22 Sep 2012 12:08:08 +0000 (00:08 +1200)] 
Update ssl_crtd BH shortcut to use message=

13 years agoUpdate NTLM and Negotiate TT result code handlers to use token=
Amos Jeffries [Sat, 22 Sep 2012 11:31:12 +0000 (23:31 +1200)] 
Update NTLM and Negotiate TT result code handlers to use token=

13 years agoConvert AF result handlers to use OK result with parameters
Amos Jeffries [Sat, 22 Sep 2012 11:13:29 +0000 (23:13 +1200)] 
Convert AF result handlers to use OK result with parameters

Add the token= key for server blobs from Negotiate helpers.

Update HelperReply parser to convert AF responses when received.

13 years agoMerged from trunk
Francesco Chemolli [Sat, 22 Sep 2012 10:56:48 +0000 (12:56 +0200)] 
Merged from trunk

13 years agoParse external ACL key-pair in HelperReply
Amos Jeffries [Sat, 22 Sep 2012 09:08:28 +0000 (21:08 +1200)] 
Parse external ACL key-pair in HelperReply

Moves parsing of tag, user, password, message, and log key-pair to shared
helper parser. Enabling these keys to be implemented by other helpers.

Adds deprecation/unsupported warning to external ACL parser for other
key-pair.

TODO: support unknown key=pair in generic parser. At present the first
      unknown key will halt parsing of the whole line.

13 years agoUpgrade remainign helpers to documented External ACL reply format
Amos Jeffries [Sat, 22 Sep 2012 09:06:29 +0000 (21:06 +1200)] 
Upgrade remainign helpers to documented External ACL reply format

13 years agoRelease Notes: document cache_store_log changes in 3.2
Amos Jeffries [Sat, 22 Sep 2012 07:17:28 +0000 (19:17 +1200)] 
Release Notes: document cache_store_log changes in 3.2

Store log uses logFile*() infrastructure and was caught in the access.log
change upgrades (in a good way). But was not documented.

13 years agoRegression fix: Handle dstdomain duplicates and overlapping names better
Amos Jeffries [Sat, 22 Sep 2012 06:39:55 +0000 (18:39 +1200)] 
Regression fix: Handle dstdomain duplicates and overlapping names better

Since 3.2 changes to dstdomain overlap detection teh case of duplicate
wildcards has become a fatal error needlessly.

This silently ignores all exact duplicates, even if they are wildcards.

Also, adjust the message display to always display the longer of the
domains first. Since we are dealing with sub-domains it is the most
reliable indicator of which should be removed to safely fix the detected
issue.

13 years agoBug 3648: Polish String class files
Reinhard Posmyk [Sat, 22 Sep 2012 01:28:35 +0000 (13:28 +1200)] 
Bug 3648: Polish String class files

Fix to correct function parameter const correctness.

Also polishes whitespace to match Squid coding guidelines.

13 years agoRemoved "extern" and SQUIDCEXTERN keyword from regular functions (they have extern...
Francesco Chemolli [Fri, 21 Sep 2012 14:57:30 +0000 (16:57 +0200)] 
Removed "extern" and SQUIDCEXTERN keyword from regular functions (they have extern linkage by default)

13 years agoAdded some class documentation.
Francesco Chemolli [Fri, 21 Sep 2012 13:27:44 +0000 (15:27 +0200)] 
Added some class documentation.
Removed explicit "extern" markers from some functions

13 years agoRemoved some unnecessary includes.
Francesco Chemolli [Fri, 21 Sep 2012 09:49:04 +0000 (11:49 +0200)] 
Removed some unnecessary includes.

13 years agoBug 3647: parsing hier_code acl fails
Alex Rousskov [Fri, 21 Sep 2012 06:11:10 +0000 (18:11 +1200)] 
Bug 3647: parsing hier_code acl fails

13 years agorun formatter
Christos Tsantilas [Thu, 20 Sep 2012 18:17:40 +0000 (21:17 +0300)] 
run formatter

13 years agopolish a little the code
Christos Tsantilas [Thu, 20 Sep 2012 17:22:24 +0000 (20:22 +0300)] 
polish a little the code

13 years agoReworked a few includes, changed some linkages.
Francesco Chemolli [Thu, 20 Sep 2012 16:36:22 +0000 (18:36 +0200)] 
Reworked a few includes, changed some linkages.

13 years ago- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
Christos Tsantilas [Thu, 20 Sep 2012 16:26:47 +0000 (19:26 +0300)] 
- Rename CertValidateMessage-> CertValidationMsg, ValidateCertificateResponse->
  CertValidationResponse and ValidateCertificate -> CertValidationRequest
- fixes so that the "make check" and "make distcheck" works
- Document new classes and members

13 years agoShuffled some includes
Francesco Chemolli [Thu, 20 Sep 2012 13:05:01 +0000 (15:05 +0200)] 
Shuffled some includes
Changed some linkage to c++

13 years agoRemoved some useless includes
Francesco Chemolli [Thu, 20 Sep 2012 11:28:21 +0000 (13:28 +0200)] 
Removed some useless includes
Changed some linkage from C to default (extern c++)

13 years agoRemoved/reworked some header inclusions.
Francesco Chemolli [Thu, 20 Sep 2012 09:13:58 +0000 (11:13 +0200)] 
Removed/reworked some header inclusions.

13 years agoImproved documentation and standardized names for RequestFlags
Francesco Chemolli [Wed, 19 Sep 2012 17:16:56 +0000 (19:16 +0200)] 
Improved documentation and standardized names for RequestFlags

13 years agoExtend MemBuf to trim whitespace
Amos Jeffries [Wed, 19 Sep 2012 10:35:16 +0000 (22:35 +1200)] 
Extend MemBuf to trim whitespace

13 years agoFixed leftover issues with reverting RequestFlags getters/setters.
Francesco Chemolli [Wed, 19 Sep 2012 09:24:34 +0000 (11:24 +0200)] 
Fixed leftover issues with reverting RequestFlags getters/setters.

13 years agoConvert helper char* response to class
Amos Jeffries [Wed, 19 Sep 2012 04:45:39 +0000 (16:45 +1200)] 
Convert helper char* response to class

13 years agoPolished code. No runtime changes expected.
Alex Rousskov [Tue, 18 Sep 2012 23:24:12 +0000 (17:24 -0600)] 
Polished code. No runtime changes expected.

13 years agoremoved all RequestFlags setters/getters except for doneXff
Francesco Chemolli [Tue, 18 Sep 2012 21:33:54 +0000 (23:33 +0200)] 
removed all RequestFlags setters/getters except for doneXff

13 years agoReverted most RequestFlags getters/setters
Francesco Chemolli [Tue, 18 Sep 2012 21:05:32 +0000 (23:05 +0200)] 
Reverted most RequestFlags getters/setters

13 years agoAdded files forgotten during initial import.
Alex Rousskov [Tue, 18 Sep 2012 19:22:35 +0000 (13:22 -0600)] 
Added files forgotten during initial import.

13 years agoLatest changes:
Christos Tsantilas [Tue, 18 Sep 2012 17:13:06 +0000 (20:13 +0300)] 
Latest changes:

 - Move the CertItem class from ValidateCertificateResponse class to
    CertValidateMessage class

  - Add the Ssl::CertValidateMessage::getCertByName method to search
    an for a certificate in a std::vector<CertItem> list

  - Implement the Ssl::ValidateCertificateResponse::getError to search in
    Ssl::ValidateCertificateResponse::errors list for a error

  - Improve the Ssl::CertValidateMessage::parseResponse method

  - Remove the ValidateCertificateResponse::ErrorItem::certId member. The
    user should always link with a certificate, not with an index to certificate.

  - The CertValidateMessage::parseResponse takes as argument the list of peer
    Certificates. It uses this list to fill the ValidateCertificateResponse
    object.

  - Return ERR_GATEWAY_FAILURE/HTTP_INTERNAL_SERVER_ERROR error if:
     * Failed to compose the  Ssl::CertValidateMessage message to sent to
       cert validator
     * The response from cert validator is wrong
     * The cert validator returns an error.

  - Implement the FwdState::sslCrtvdCheckForErrors method. This method
    checks if the errors returned from cert validator class can be
    ignored or an error to the user must returned.

  - Now if the Config.ssl_client.cert_error is not used, then the first
    error in the list returned from cert validator, is the error which
    considered as the error which causes the failure

13 years ago- Implement the FwdState::sslCrtvdCheckForErrors method. This method
Christos Tsantilas [Tue, 18 Sep 2012 17:08:48 +0000 (20:08 +0300)] 
- Implement the FwdState::sslCrtvdCheckForErrors method. This method
  checks if the errors returned from cert validator class can be
  ignored or an error to the user must returned.

- Now if the Config.ssl_client.cert_error is not used, then the first
  error in the list returned from cert validator, is the error which
  considered as the error which causes the failure

13 years ago- Move the CertItem class from ValidateCertificateResponse class to
Christos Tsantilas [Tue, 18 Sep 2012 16:05:07 +0000 (19:05 +0300)] 
- Move the CertItem class from ValidateCertificateResponse class to
  CertValidateMessage class

- Add the Ssl::CertValidateMessage::getCertByName method to search
  an for a certificate in a std::vector<CertItem> list

- Implement the Ssl::ValidateCertificateResponse::getError to search in
  Ssl::ValidateCertificateResponse::errors list for a error

- Improve the Ssl::CertValidateMessage::parseResponse method

13 years agoClarified some comments in HttpHeaderFieldStat
Francesco Chemolli [Tue, 18 Sep 2012 14:23:58 +0000 (16:23 +0200)] 
Clarified some comments in HttpHeaderFieldStat
Sorted class forward declarations in HTtpHeaderTools
Fixed debug in RequestFlags.cc
Properly indented constructor in RequestFlags.h
class-ified AclAddress

13 years agoRenamed CacheMgrPasswd to Mgr::ActionPasswordList
Francesco Chemolli [Tue, 18 Sep 2012 14:06:31 +0000 (16:06 +0200)] 
Renamed CacheMgrPasswd to Mgr::ActionPasswordList

13 years agoFixed class indentation
Francesco Chemolli [Tue, 18 Sep 2012 12:54:44 +0000 (14:54 +0200)] 
Fixed class indentation

13 years agoRemoved duplicate empty lines
Francesco Chemolli [Tue, 18 Sep 2012 12:37:07 +0000 (14:37 +0200)] 
Removed duplicate empty lines

13 years ago- Remove the ValidateCertificateResponse::ErrorItem::certId member. The
Christos Tsantilas [Tue, 18 Sep 2012 09:56:08 +0000 (12:56 +0300)] 
- Remove the ValidateCertificateResponse::ErrorItem::certId member. The
  user should always link with a certificate, not with an index to certificate.
- The CertValidateMessage::parseResponse takes as argument the list of peer
  Certificates. It uses this list to fill the ValidateCertificateResponse
  object.
- Return ERR_GATEWAY_FAILURE/HTTP_INTERNAL_SERVER_ERROR error if:
   * Failed to compose the  Ssl::CertValidateMessage message to sent to
     cert validator
   * The response from cert validator is wrong
   * The cert validator returns an error.

13 years agoMoved netdbEntry classes to icmp/net_db.h
Francesco Chemolli [Mon, 17 Sep 2012 18:03:06 +0000 (20:03 +0200)] 
Moved netdbEntry classes to icmp/net_db.h

13 years agorenamed class iostats to IoStats, moved to own header file.
Francesco Chemolli [Mon, 17 Sep 2012 15:12:01 +0000 (17:12 +0200)] 
renamed class iostats to IoStats, moved to own header file.

13 years agoAdded files forgotten during initial import.
Alex Rousskov [Mon, 17 Sep 2012 14:36:00 +0000 (08:36 -0600)] 
Added files forgotten during initial import.