]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
19 years agoBug #1369: New http_status acl type
hno [Mon, 26 Sep 2005 02:58:23 +0000 (02:58 +0000)] 
Bug #1369: New http_status acl type

by     Gonzalo Arana <gonzalo.arana@gmail.com>

19 years agoBug #1326: Use DNS search path from /etc/resolv.conf
hno [Mon, 26 Sep 2005 02:25:55 +0000 (02:25 +0000)] 
Bug #1326: Use DNS search path from /etc/resolv.conf

patch by Thien Vu with fixes by "Paul".

19 years agoBug #1378: Transparent proxy problem with IP Filter
serassio [Sun, 25 Sep 2005 18:36:50 +0000 (18:36 +0000)] 
Bug #1378: Transparent proxy problem with IP Filter

Incremental patch: fixed a compile warning.

Forward port of 2.5 patch.

19 years agoBug #1394: invalid host is processed as IP 255.255.255.255
serassio [Sat, 24 Sep 2005 20:41:50 +0000 (20:41 +0000)] 
Bug #1394: invalid host is processed as IP 255.255.255.255

this patch changes acl processing to not match dst acls if the
destination IP is not known instead of matching as the invalid IP
255.255.255.255.

Forward port of 2.5 patch.

19 years agoFixed missing inclusion of MemBuf.h
serassio [Sat, 24 Sep 2005 20:38:35 +0000 (20:38 +0000)] 
Fixed missing inclusion of MemBuf.h

19 years agoBug #1334: Can't dump core on Linux when started as root
serassio [Sat, 24 Sep 2005 19:21:00 +0000 (19:21 +0000)] 
Bug #1334: Can't dump core on Linux when started as root

Don't be as strict about verifying the prctl success. Not all kernels
supports this prctl, but the only downside when not supported is that
there won't be core dumps so there is no reason to report this error at
level 0.

Forward port of 2.5 patch.

19 years agoadd balancing parenthese
wessels [Wed, 21 Sep 2005 22:12:46 +0000 (22:12 +0000)] 
add balancing parenthese

19 years agoAdded an implementation of parseFirstLine() for class HttpRequest
wessels [Mon, 19 Sep 2005 23:30:23 +0000 (23:30 +0000)] 
Added an implementation of parseFirstLine() for class HttpRequest

19 years agoFinish turning MemBuf into a full-fledged class. Almost all of the
wessels [Sat, 17 Sep 2005 11:50:07 +0000 (11:50 +0000)] 
Finish turning MemBuf into a full-fledged class.  Almost all of the
former standalone functions are now methods of MemBuf class.  The next
step may be to merge init() and clean() methods into the constructor
and destructor.

19 years agoAdd MemBuf to MemPools. This would have made it easier to find
wessels [Sat, 17 Sep 2005 11:05:08 +0000 (11:05 +0000)] 
Add MemBuf to MemPools.  This would have made it easier to find
recent leak.

19 years agoInstead of including MemBuf.h in squid.h, use a forward reference
wessels [Sat, 17 Sep 2005 10:53:44 +0000 (10:53 +0000)] 
Instead of including MemBuf.h in squid.h, use a forward reference
to class MemBuf and then include MemBuf.h in the .cc files where
necessary.

19 years agocf_gen should use xcalloc() instead of calloc(), if for no other reason
wessels [Sat, 17 Sep 2005 09:42:20 +0000 (09:42 +0000)] 
cf_gen should use xcalloc() instead of calloc(), if for no other reason
that to be consistent.

19 years agoA fix for a MemBuf leak caused by my recent MemBuf-related changes.
wessels [Sat, 17 Sep 2005 09:38:36 +0000 (09:38 +0000)] 
A fix for a MemBuf leak caused by my recent MemBuf-related changes.

19 years agoMade HttpMsg::parseFirstLine() a virtual method for parsing the
wessels [Fri, 16 Sep 2005 02:19:41 +0000 (02:19 +0000)] 
Made HttpMsg::parseFirstLine() a virtual method for parsing the
status and request lines of HTTP requests and responses.
Still need to write HttpRequest::parseFirstLine().

19 years agoMade httpReplyHdrCacheInit() and httpRequestHdrCacheInit() into virtual
wessels [Fri, 16 Sep 2005 01:22:30 +0000 (01:22 +0000)] 
Made httpReplyHdrCacheInit() and httpRequestHdrCacheInit() into virtual
functions of HttpMsg class.  Made some old static functions members of
HttpRequest and HttpReply classes so that the new hdrCacheInit() can
be private (protected).

Also fixed a memory leak with HttpHdrCc, which I may or may not have
recently created.

19 years agoRemoving unused function httpHdrCcJoinWith()
wessels [Fri, 16 Sep 2005 01:04:56 +0000 (01:04 +0000)] 
Removing unused function httpHdrCcJoinWith()

19 years agoFound possible leak of HttpReply in processReplyHeader() when
wessels [Thu, 15 Sep 2005 21:10:14 +0000 (21:10 +0000)] 
Found possible leak of HttpReply in processReplyHeader() when
only partial headers have been received.

19 years agoBug #1204: FTP listings uses "BASE HREF" much more than it needs to,
serassio [Thu, 15 Sep 2005 19:38:45 +0000 (19:38 +0000)] 
Bug #1204: FTP listings uses "BASE HREF" much more than it needs to,
confusing authentication.

This patch changes the directory cleanup to use relative URLs rather
than BASE HREF when a directory is requested without trailing /

Forward port of 2.5 patch.

19 years agoForward port of old 2.5 missing changes:
serassio [Thu, 15 Sep 2005 18:55:44 +0000 (18:55 +0000)] 
Forward port of old 2.5 missing changes:

- Cosmetic cleanup of how // is handled within FTP URL-paths
- Clean up use of BASE HREF in ftp listings, mainly in ;type=d format
  listings.
- Bug #1253: BASE HREF missing on ftp directory URLs without /

19 years agoCosmetic: Accept ftp://anonymous@ as a synonym for anonymous ftp,
serassio [Thu, 15 Sep 2005 16:43:13 +0000 (16:43 +0000)] 
Cosmetic: Accept ftp://anonymous@ as a synonym for anonymous ftp,
not requiring a password to be entered. This is apparently used by
Symantec Live Update.

Forward port of an old 2.5 patch.

19 years agoCosmetic workaround for Mozilla brokenness.
serassio [Thu, 15 Sep 2005 16:25:07 +0000 (16:25 +0000)] 
Cosmetic workaround for Mozilla brokenness.

19 years agoFix missing newlines in debug output
serassio [Thu, 15 Sep 2005 16:14:50 +0000 (16:14 +0000)] 
Fix missing newlines in debug output

19 years agocosmetic fix: cachemgr memory stats report absurd "high (hrs)"
wessels [Thu, 15 Sep 2005 05:20:14 +0000 (05:20 +0000)] 
cosmetic fix: cachemgr memory stats report absurd "high (hrs)"
values for some pools because those pools are constructed before
squid_curtime is set.  This patch calls time(NULL) in the
memMeterSyncHWater() macro if squid_curtime is zero.

19 years agoSome changes related to URL-parsing for upcoming ICAP additions:
wessels [Thu, 15 Sep 2005 03:09:38 +0000 (03:09 +0000)] 
Some changes related to URL-parsing for upcoming ICAP additions:

 - findTrailingHTTPVersion() now has optional 'char *end' arg for
   parsing non-terminated buffers.  If end defaults to NULL, then
   the string must be NULL terminated.
 - urlParseMethod() now has optional 'char *end' arg.
 - urlParseProtocol() now has optional 'char *end' arg.
 - urlParse() now has optional 'HttpRequest *' arg.  If non-NULL,
   urlParse() does not allocate a new HttpRequest and returns
   this passed arg.

19 years agojust adding/fixing some comments with httpStatusLineParse()
wessels [Thu, 15 Sep 2005 02:56:33 +0000 (02:56 +0000)] 
just adding/fixing some comments with httpStatusLineParse()

19 years agoBug #1332: mem_node leak
wessels [Thu, 15 Sep 2005 00:23:21 +0000 (00:23 +0000)] 
Bug #1332: mem_node leak

There was a fairly significant mem_node leak because (1) nodes were
being removed from the 'nodes' list without also being deleted, and
(2) there was no storeIOWrite callback to decrement the use count.

This patch changes the mem_node use count to a boolean write_pending
flag, adds a memNodeWriteComplete() callback function, and removes
and deletes nodes at the same time.  mem_hdr::unlink() was changed
to return boolean to prevent loops in freeDataUpto().

19 years agoBug #1327: NTLM authentication fails when low on filedescriptors or
serassio [Wed, 14 Sep 2005 23:10:38 +0000 (23:10 +0000)] 
Bug #1327: NTLM authentication fails when low on filedescriptors or
client side persistent connections disabled

Forward port of 2.5 patch.

19 years agoBootstrapped
hno [Wed, 14 Sep 2005 06:10:54 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1351: Greek translation of error messages, thanks to George
serassio [Wed, 14 Sep 2005 01:58:36 +0000 (01:58 +0000)] 
Bug #1351: Greek translation of error messages, thanks to George
Papamichelakis <george@step.gr>

Forward port of 2.5 patch.

19 years agoBug #1370: squid_ldap_auth -U does not work
serassio [Wed, 14 Sep 2005 01:38:30 +0000 (01:38 +0000)] 
Bug #1370: squid_ldap_auth -U does not work

by peter stamfest <peter@stamfest.at>

Forward port of 2.5 change

19 years agoForgot to add this yesterday for new HttpRequest/HttpReply dervied classes
wessels [Tue, 13 Sep 2005 23:45:05 +0000 (23:45 +0000)] 
Forgot to add this yesterday for new HttpRequest/HttpReply dervied classes

19 years agoBootstrapped
hno [Tue, 13 Sep 2005 06:10:41 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoChanges to HTTP request and reply parsing classes, started by Alex,
wessels [Tue, 13 Sep 2005 05:28:57 +0000 (05:28 +0000)] 
Changes to HTTP request and reply parsing classes, started by Alex,
further hacked by DW.  These are forward-ported from ICAP development
on sourceforge.

Alex's original commit message:

- Moved parts common to HttpReply and HttpRequest to HttpMsg. HttpMsg is
  needed to be able to pipe HTTP messages using MsgPipe without knowing
  whether the message being piped is a request or response. It is also
  handy for keeping ICAPXaction mostly independent from the ICAP request
  method (and, hence, the primary HTTP message kind). Moving previously
  duplicated code to a single location is supposed to be good long-term.
  More polishing work is needed (e.g., protocol and protoPrefix need
  to be merged and so can be lastmod and last_modified).

- Added reset/parse/pack methods to parse and pack HTTP messages without
  knowing their direction/kind. HttpRequest::parse() is not implemented
  yet but we have code that should be reusable for that.

DW's additional changes

- HttpRequest didn't really have any parsing methods or state.
  Moved the HttpReply parsing methods to HttpMsg and created a
  virtual function for parsing the start line (request line or
  status line).

- Added full_uri flag to packInto() method because ICAP needs
  full URIs in encapsulated requests.

19 years agoclass ClientHttpRequest had a member 'HttpVersion http_ver' which
wessels [Tue, 13 Sep 2005 04:26:39 +0000 (04:26 +0000)] 
class ClientHttpRequest had a member 'HttpVersion http_ver' which
isn't really needed.  It was only used to remember the version
between calling parseHttpRequest() (where it was initially parsed)
and clientProcessRequest() (where it is permanently saved in
HttpRequest).

This patch makes a local 'http_ver' in clientProcessRequest(),
passes its pointer to parseHttpRequest() and then its value to
clientProcessRequest().

19 years agocosmetic: move char *t declaration inside the only block where it is used.
wessels [Tue, 13 Sep 2005 01:24:29 +0000 (01:24 +0000)] 
cosmetic: move char *t declaration inside the only block where it is used.

19 years agoBug #1378: Transparent proxy problem with IP Filter
serassio [Mon, 12 Sep 2005 20:20:02 +0000 (20:20 +0000)] 
Bug #1378: Transparent proxy problem with IP Filter

On NetBSD and maybe others, when using Ipfilter 4.x, opening of the NAT device
fails.
On Solaris the following message can appear in cache.log:
parseHttpRequest: NAT lookup failed: ioctl(SIOCGNATL): (22) Invalid argument

This patch adds the usage of ipfobj structure for IP Filter 4.0alpha27 and later.

Forward port of 2.5 patch.

19 years agoBootstrapped
hno [Mon, 12 Sep 2005 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1335: Can't dump core on Linux when started as root
serassio [Mon, 12 Sep 2005 03:08:52 +0000 (03:08 +0000)] 
Bug #1335: Can't dump core on Linux when started as root

Forward port of 2.5 patch.

19 years agoFixed assertion failures in the authentication framework after the latest
serassio [Sun, 11 Sep 2005 16:19:41 +0000 (16:19 +0000)] 
Fixed assertion failures in the authentication framework after the latest
changes to MemBuf.

19 years agoBug #1389: LDAP helpers does not wotk with TLS (-Z option)
hno [Sun, 11 Sep 2005 07:02:33 +0000 (07:02 +0000)] 
Bug #1389: LDAP helpers does not wotk with TLS (-Z option)

19 years agoBug #1368: assertion failed: store.c:523: "e->store_status ==
serassio [Sun, 11 Sep 2005 01:31:31 +0000 (01:31 +0000)] 
Bug #1368: assertion failed: store.c:523: "e->store_status ==
STORE_PENDING" on certain aborted requests

Forward port of 2.5 patch.

19 years agoBug #1342: Odd URLs in error messages on forwarded requests
serassio [Sat, 10 Sep 2005 22:03:52 +0000 (22:03 +0000)] 
Bug #1342: Odd URLs in error messages on forwarded requests

   While trying to retrieve the
   URL:NONE://10.72.43.56:8181http://www.abcd.com/

and error message content incomplete (many % codes not known) in several
other error conditions

Forward port of 2.5 patch.

19 years agocosmetic: Remove silly "typedef class ClientHttpRequest clientHttpRequest"
wessels [Fri, 9 Sep 2005 23:31:33 +0000 (23:31 +0000)] 
cosmetic: Remove silly "typedef class ClientHttpRequest clientHttpRequest"
and rename clientHttpRequest to ClientHttpRequest everywhere.

19 years agoHad a coredump where ACLIP::data was NULL. This patch avoids the
wessels [Thu, 8 Sep 2005 03:53:12 +0000 (03:53 +0000)] 
Had a coredump where ACLIP::data was NULL.  This patch avoids the
NULL pointer dereference, but there might be another bug elsewhere that
allows data to be NULL.

19 years agoBug #1387: typos in src/cf.data.pre
wessels [Thu, 8 Sep 2005 01:24:49 +0000 (01:24 +0000)] 
Bug #1387: typos in src/cf.data.pre

19 years agoBootstrapped
hno [Wed, 7 Sep 2005 06:10:47 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1344: Fails to compile with glibc -D_FORTIFY_SOURCE=2 (used by
serassio [Sat, 3 Sep 2005 19:46:46 +0000 (19:46 +0000)] 
Bug #1344: Fails to compile with glibc -D_FORTIFY_SOURCE=2 (used by
Fedora Core 4 and others)

Forward port of 2.5 patch.

19 years agoBug #1325: assertion failed: StatHist.c:93 ((int) floor(0.99L +
serassio [Sat, 3 Sep 2005 18:33:32 +0000 (18:33 +0000)] 
Bug #1325: assertion failed: StatHist.c:93 ((int) floor(0.99L +
statHistVal(H, 0) - min)) == 0

Forward port of 2.5 patch.

19 years agoBug #1380: E-mail sent when cache dies is blocked from many antispam rules
serassio [Sat, 3 Sep 2005 17:53:31 +0000 (17:53 +0000)] 
Bug #1380: E-mail sent when cache dies is blocked from many antispam rules

The e-mail sent when the cache dies use as "From:" field the Squid internal
appname "squid".
This "From:" address is invalid for the majority of antispam filters because
doesn't contains a valid domain name.

This patch adds the 'mail_from' directive to squid.conf, allowing to specify the
from e-mail address and change the default to use 'appname@unique_hostname'.

19 years agoBug #1331: chroot_dir and -k reconfigure
serassio [Sat, 3 Sep 2005 16:32:08 +0000 (16:32 +0000)] 
Bug #1331: chroot_dir and -k reconfigure

Forward port of 2.5 patch.

19 years agoBug #1348: Some odd FTP servers respond with 250 where 226 is expected
serassio [Sat, 3 Sep 2005 16:09:09 +0000 (16:09 +0000)] 
Bug #1348: Some odd FTP servers respond with 250 where 226 is expected

Forward port of 2.5 patch.

19 years agoBug #1375: snmp cacheClientTable fails on "long" IP addresses
serassio [Sat, 3 Sep 2005 16:05:46 +0000 (16:05 +0000)] 
Bug #1375: snmp cacheClientTable fails on "long" IP addresses

Forward port of 2.5 patch.

19 years agoFix log escape selection mechanism to properly handle quoting of
hno [Fri, 2 Sep 2005 01:34:46 +0000 (01:34 +0000)] 
Fix log escape selection mechanism to properly handle quoting of
multiple format elements.

19 years agoESI.cc was forgotten during the latest MemBuf changes.
serassio [Fri, 2 Sep 2005 00:53:51 +0000 (00:53 +0000)] 
ESI.cc was forgotten during the latest MemBuf changes.

Adjusted MemBuf usage to the new implementation.

19 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:36:47 +0000 (22:36 +0000)] 
more .cvsignore updates

19 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:26:16 +0000 (22:26 +0000)] 
more .cvsignore updates

19 years agomore .cvsignore updates
wessels [Thu, 1 Sep 2005 22:22:30 +0000 (22:22 +0000)] 
more .cvsignore updates

19 years agoadding and adding to .cvsignore files
wessels [Thu, 1 Sep 2005 22:05:02 +0000 (22:05 +0000)] 
adding and adding to .cvsignore files

19 years agoSome changes and new features for MemBuf to make it more class-like
wessels [Thu, 1 Sep 2005 01:15:35 +0000 (01:15 +0000)] 
Some changes and new features for MemBuf to make it more class-like
- made sure that cleaning a buffer that has not been initialized yet does
  not lead to coredumps (this is similar to deleting a null pointer in C++).
- Added consume() and append*() methods to allow the buffer to be used in a
  consumer/producer pipe-like environment.
- Added content() and space() methods as the first step to hide buf and size
  members that require consume() method to always shift content to keep a
  copyf of buf member valid (in case somebody made a copy of it).
- Noted that spaceSize() logic assumes the buffer does not expand and is
  0-terminated. This means that the following does not hold:
                max_capacity == contentSize() + spaceSize()
  Fortunately, max_capacity is a private member that nobody should be using
  outside of MemBuf.cc
  0-termination of a MemBuf? Can we make it explicit like string::c_str()?
- added hasContent() method
- Added public terminate() method because some HTTP parsing routines need it,
  unfortunately.
- Added potentialSpaceSize() to report how much space can be available
  after the buffer is grown to the max. Useful for callers that decide
  whether they _will_ have the space to store new data that they can get
  from somewhere.
- Use private copy and operator= methods to prevent us from creating a
  copy of a MemBuf.  MemBuf copies are bad because then two ->buf pointers
  point to the same location and its not clear who should free the memory.
- Added a destructor that asserts if someone forgot to free ->buf.  Good
  for finding memory leaks.

Restriction on not copying MemBufs must be propogated to MemBuf users.
In many cases this means changing "static" MemBufs to pointers.

19 years agoMust call cbdataReferenceDone on the ident_lookup list
wessels [Wed, 31 Aug 2005 23:21:58 +0000 (23:21 +0000)] 
Must call cbdataReferenceDone on the ident_lookup list

19 years agoBug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB
serassio [Wed, 31 Aug 2005 02:44:00 +0000 (02:44 +0000)] 
Bug #1317: SNMP GETNEXT fails if the given OID is outside the Squid MIB

This quick patch fixes the SNMP GETNEXT search when given an OID outside
the Squid MIB. This allows proper integration of Squid into proxy SNMP
agents.

Forward port of 2.5 patch.

19 years agoBootstrapped
hno [Mon, 29 Aug 2005 06:10:42 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Sun, 28 Aug 2005 16:45:32 +0000 (16:45 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

Forgotten to change CXXFLAGS too ...

19 years agoAdded support for Windows code name "Longhorn".
serassio [Sun, 28 Aug 2005 14:55:21 +0000 (14:55 +0000)] 
Added support for Windows code name "Longhorn".

19 years agoRearranged code and added comments for better readability.
serassio [Sun, 28 Aug 2005 14:37:30 +0000 (14:37 +0000)] 
Rearranged code and added comments for better readability.

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:53:42 +0000 (01:53 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added Winsocks initialization on native Windows

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 01:36:36 +0000 (01:36 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Added native Windows Exception handling with signal() emulation

19 years agoMerge of latest Windows specific updates from nt-3_0 branch:
serassio [Sun, 28 Aug 2005 00:40:20 +0000 (00:40 +0000)] 
Merge of latest Windows specific updates from nt-3_0 branch:

- Some Cygwin fixes
- Added Windows handle into fde Class

19 years agoChanged the default name of the Windows Service from "SquidNT" to "Squid"
serassio [Sun, 28 Aug 2005 00:34:31 +0000 (00:34 +0000)] 
Changed the default name of the Windows Service from "SquidNT" to "Squid"

19 years agoCalculate loop_delay immediately before it is used.
wessels [Fri, 26 Aug 2005 01:31:22 +0000 (01:31 +0000)] 
Calculate loop_delay immediately before it is used.

19 years agocosmetic: be consistent and use "FD %d" instead of "fd %d"
wessels [Fri, 26 Aug 2005 01:30:01 +0000 (01:30 +0000)] 
cosmetic: be consistent and use "FD %d" instead of "fd %d"
in debugging messages.

19 years agoBootstrapped
hno [Wed, 24 Aug 2005 06:10:54 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoForgotten to remove the reference to old src/squid_windows.h
serassio [Tue, 23 Aug 2005 16:52:05 +0000 (16:52 +0000)] 
Forgotten to remove the reference to old src/squid_windows.h

19 years agoBootstrapped
hno [Mon, 22 Aug 2005 06:10:51 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoRenamed src/squid_windows.h to include/squid_windows.h
serassio [Mon, 22 Aug 2005 00:54:23 +0000 (00:54 +0000)] 
Renamed src/squid_windows.h to include/squid_windows.h

19 years agoRemoved residual Samba file
serassio [Mon, 22 Aug 2005 00:50:35 +0000 (00:50 +0000)] 
Removed residual Samba file

19 years agoMS VisualStudio C++ needs explicit extern "C" declaration when accessing to
serassio [Mon, 22 Aug 2005 00:33:24 +0000 (00:33 +0000)] 
MS VisualStudio C++ needs explicit extern "C" declaration when accessing to
C external variables

19 years agoRemoved residual Samba file
serassio [Sun, 21 Aug 2005 23:42:29 +0000 (23:42 +0000)] 
Removed residual Samba file

19 years agoBootstrapped
hno [Sun, 21 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoOn Windows, the latest MinGW doesn't like include paths terminated with / char
serassio [Sun, 21 Aug 2005 03:08:38 +0000 (03:08 +0000)] 
On Windows, the latest MinGW doesn't like include paths terminated with / char

19 years agoint HttpStateData.do_next_read is really boolean. It can become
wessels [Fri, 19 Aug 2005 23:03:28 +0000 (23:03 +0000)] 
int HttpStateData.do_next_read is really boolean.  It can become
http_state_flags.do_next_read.

19 years agoIt looks like int httpState->reply_hdr_state is always either 0 or 2.
wessels [Fri, 19 Aug 2005 22:49:26 +0000 (22:49 +0000)] 
It looks like int httpState->reply_hdr_state is always either 0 or 2.
I'm replacing it with the single-bit http_state_flags.headers_parsed.

19 years agochange 'sizeof sockaddr_in' to sizeof S' and make connect()
wessels [Fri, 19 Aug 2005 22:40:15 +0000 (22:40 +0000)] 
change 'sizeof sockaddr_in' to sizeof S' and make connect()
debugging a little more verbose.

19 years agocosmetic: clean up some comments
wessels [Wed, 17 Aug 2005 21:57:26 +0000 (21:57 +0000)] 
cosmetic: clean up some comments

19 years agoBootstrapped
hno [Tue, 16 Aug 2005 06:11:00 +0000 (06:11 +0000)] 
Bootstrapped

19 years agoUpdated Negotiate over HTTP draft
hno [Tue, 16 Aug 2005 01:50:59 +0000 (01:50 +0000)] 
Updated Negotiate over HTTP draft

19 years agoBootstrapped
hno [Mon, 15 Aug 2005 06:10:40 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoBug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter
serassio [Mon, 15 Aug 2005 02:44:28 +0000 (02:44 +0000)] 
Bug #1374: Solaris 10 SPARC transparent proxy build problem with ipfilter

On Solaris (and may be that on other platforms could be something similar to
this, we should verify), Ipfilter include files use a SOLARIS2 define defined
only in the ipfilter makefile at ipfilter build time.
This patch adds the SOLARIS2 definition into configure.

19 years agoBug #1376: Compile error with gcc4
serassio [Mon, 15 Aug 2005 02:34:54 +0000 (02:34 +0000)] 
Bug #1376: Compile error with gcc4

Another compile error related to gcc4 inline optimization.

19 years agoThis patch adds new 'mail_program' configuration option in squid.conf.
serassio [Mon, 15 Aug 2005 00:43:40 +0000 (00:43 +0000)] 
This patch adds new 'mail_program' configuration option in squid.conf.

This option allow to specify the mailer program name that squid will use to
send fatal reports by mail and related command line options.

Forward port of Squid 2.5 changes.

19 years agoBootstrapped
hno [Mon, 8 Aug 2005 06:10:50 +0000 (06:10 +0000)] 
Bootstrapped

19 years agoAllow build on Solaris x86 with both fixed or not fixed includes.
serassio [Sun, 7 Aug 2005 18:16:50 +0000 (18:16 +0000)] 
Allow build on Solaris x86 with both fixed or not fixed includes.

For more details:
http://www.squid-cache.org/mail-archive/squid-dev/200507/0045.html
http://forum.sun.com/thread.jspa?threadID=20228&tstart=105

19 years agoFinish removal of Samba headers
hno [Fri, 5 Aug 2005 22:14:51 +0000 (22:14 +0000)] 
Finish removal of Samba headers

19 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

19 years agoBootstrapped
hno [Fri, 5 Aug 2005 22:12:35 +0000 (22:12 +0000)] 
Bootstrapped

19 years agoDon't bootstrap subdirectories unless needed
hno [Thu, 4 Aug 2005 16:58:14 +0000 (16:58 +0000)] 
Don't bootstrap subdirectories unless needed

19 years agoRemoved obsolete Samba headers
hno [Wed, 3 Aug 2005 22:40:56 +0000 (22:40 +0000)] 
Removed obsolete Samba headers

19 years agoFix Array operator +=. Patch by Andrey Shorin
hno [Wed, 3 Aug 2005 21:38:23 +0000 (21:38 +0000)] 
Fix Array operator +=. Patch by Andrey Shorin

19 years agoAlso enable opt_debug_stderr for squid -z
wessels [Wed, 20 Jul 2005 23:07:25 +0000 (23:07 +0000)] 
Also enable opt_debug_stderr for squid -z

20 years agoBootstrapped
hno [Sat, 16 Jul 2005 06:10:39 +0000 (06:10 +0000)] 
Bootstrapped