]> git.ipfire.org Git - thirdparty/squid.git/log
thirdparty/squid.git
15 years agoAdd 0.0.0.0 as an to_localhost address
Henrik Nordstrom [Sat, 15 Aug 2009 12:56:39 +0000 (14:56 +0200)] 
Add 0.0.0.0 as an to_localhost address

Many TCP/IP(v4) stacks aliases 0.0.0.0 as 127.0.0.1.

15 years agoDrop old release 3.0/3.1 notes files from 3.2
Amos Jeffries [Sat, 15 Aug 2009 09:44:22 +0000 (21:44 +1200)] 
Drop old release 3.0/3.1 notes files from 3.2

15 years agoInitial release notes for 3.2
Amos Jeffries [Sat, 15 Aug 2009 09:42:30 +0000 (21:42 +1200)] 
Initial release notes for 3.2

15 years agoAuthor: Mark Nottingham <mnot@pobox.com>
Amos Jeffries [Sat, 15 Aug 2009 02:14:54 +0000 (14:14 +1200)] 
Author: Mark Nottingham <mnot@pobox.com>
Bug 2390: New hier_code ACL type

I needed to log only forward requests; forward_log looked interesting, but
isn't flexible like access_log. The easiest thing to do seemed to be to add a
hier_code ACL type.

Adapted to Squid-3 by Amos Jeffries

15 years agoAdjust the test stub MemObject to match changes in actual MemObject
Henrik Nordstrom [Fri, 14 Aug 2009 22:14:13 +0000 (00:14 +0200)] 
Adjust the test stub MemObject to match changes in actual MemObject

Sorry, forgot to run make test in the memcache changes..

15 years agoDon't use C++ // comments in C files
Henrik Nordstrom [Fri, 14 Aug 2009 21:52:54 +0000 (23:52 +0200)] 
Don't use C++ // comments in C files

15 years agoPopulate cache_mem again on disk cache hits, moving on-disk objects back
Henrik Nordstrom [Fri, 14 Aug 2009 14:35:07 +0000 (16:35 +0200)] 
Populate cache_mem again on disk cache hits, moving on-disk objects back
into the hot object pool.

This adds a new squid.conf option for tuning when to keep objects in memory.

Sponsored by: The Measurement Factory

15 years agoWindows port: fix mswin_negotiate_auth.exe crash when executing a LocalCall authentic...
Guido Serassio [Thu, 13 Aug 2009 21:08:35 +0000 (23:08 +0200)] 
Windows port: fix mswin_negotiate_auth.exe crash when executing a LocalCall authentication with verbose debug enabled

- Also ran indent

15 years agoMerged from trunk
Henrik Nordstrom [Thu, 13 Aug 2009 10:28:33 +0000 (12:28 +0200)] 
Merged from trunk

15 years agoMerged from trunk
Henrik Nordstrom [Thu, 13 Aug 2009 10:28:09 +0000 (12:28 +0200)] 
Merged from trunk

15 years agoAuthor: Amos Jeffries + Alan Nastac <mrness@gentoo.org>
Amos Jeffries [Wed, 12 Aug 2009 10:18:34 +0000 (22:18 +1200)] 
Author: Amos Jeffries + Alan Nastac <mrness@gentoo.org>
Better const-correctness on FTP login parse

Also reduces amount of copying done by the parse. The old version
was copying the entire URL into user/password then cropping it down.
This one only copies the required bytes and terminates the copy.

15 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Wed, 12 Aug 2009 09:38:36 +0000 (21:38 +1200)] 
Author: Alin Nastac <mrness@gentoo.org>
Add --disable-caps option

Gentoo requires this to pull in libcap dependencies via --enable-caps
which is a non-operation.
Using it to disable libcap usage will explicitly prevent TPROXY which
depends on it from operating while netfilter NAT support remains.

NP: The TPROXY v2 configure tests will not even run with caps disabled.

15 years agoDrop temporary testbed script. obsolete
Amos Jeffries [Tue, 11 Aug 2009 05:24:06 +0000 (17:24 +1200)] 
Drop temporary testbed script. obsolete

15 years agoHaxk: fix autoconf 2.64 builds
Amos Jeffries [Tue, 11 Aug 2009 03:14:59 +0000 (15:14 +1200)] 
Haxk: fix autoconf 2.64 builds

2.64 requires that the first use of AC_RUN_IFELSE is not wrapped inside
any other macros. Otherwise it will define the setup macros at the wrong
scope level and configure will break during the default type checks.

15 years agoCleanup: docs and some formatting
Amos Jeffries [Mon, 10 Aug 2009 11:51:35 +0000 (23:51 +1200)] 
Cleanup: docs and some formatting

15 years agolinux/types.h may also provide types
Amos Jeffries [Mon, 10 Aug 2009 11:25:23 +0000 (23:25 +1200)] 
linux/types.h may also provide types

15 years agoTestBed: chmod for force removal of old garbage
Amos Jeffries [Sun, 9 Aug 2009 08:13:40 +0000 (20:13 +1200)] 
TestBed: chmod for force removal of old garbage

15 years agoDetect broken libcap better
Amos Jeffries [Sun, 9 Aug 2009 07:31:39 +0000 (19:31 +1200)] 
Detect broken libcap better

libcap v1 is still common and broken.
some libcap2 may also be.

15 years agoBump minimum autoconf back to 2.61
Amos Jeffries [Sun, 9 Aug 2009 03:00:14 +0000 (15:00 +1200)] 
Bump minimum autoconf back to 2.61

15 years agoTestBed: Add bootstrap tests
Amos Jeffries [Sat, 8 Aug 2009 23:58:53 +0000 (11:58 +1200)] 
TestBed: Add bootstrap tests

Test and run bootstrap. This has the side effect of preparing the sources
for further tests even when configure.in and Makefile.am's have changed.

15 years agoAuthor: Alin Nastac <mrness@gentoo.org>
Amos Jeffries [Sat, 8 Aug 2009 22:56:07 +0000 (10:56 +1200)] 
Author: Alin Nastac <mrness@gentoo.org>
Cleanup: deprecate ugly hack for sys/capability.h

Needed once to prevent build clashes between libc and sys/capabilility.h
headers. As of libcap2.16 that is no longer the case and in fact prevents
a clean build.

Left in libcompat but removed from active build until its clear whether
full erasure is possible or if some systems still need it.

15 years agoBug #2739: DNS resolver option ndots can't be parsed from resolv.conf
Henrik Nordstrom [Sat, 8 Aug 2009 22:08:34 +0000 (00:08 +0200)] 
Bug #2739: DNS resolver option ndots can't be parsed from resolv.conf
Author: Cloyce <cloyce.spradling@sun.com>

A small logic error (probably a typo) in dns_internal.cc prevents squid from
properly reading the ndots option from resolv.conf.

The attached trivial patch fixes the problem.

15 years agoDocs: dstdomain is a 'FAST' group ACL.
Amos Jeffries [Fri, 7 Aug 2009 12:44:51 +0000 (00:44 +1200)] 
Docs: dstdomain is a 'FAST' group ACL.

15 years agoPolish cache_peer documentation
Amos Jeffries [Fri, 7 Aug 2009 07:19:33 +0000 (19:19 +1200)] 
Polish cache_peer documentation

15 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Fri, 7 Aug 2009 03:37:15 +0000 (15:37 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Accept-Language: * wildcard support

Also adds proper discard of junk in Accept-Language: headers.

16 years agoAuthor: Peter Pramberger <peter@pramberger.at>
Amos Jeffries [Wed, 5 Aug 2009 06:36:33 +0000 (18:36 +1200)] 
Author: Peter Pramberger <peter@pramberger.at>
Languages: many more language dialects

16 years agoBug #2648: stateful helpers stuck in reserved if client disconnects while helper...
Henrik Nordstrom [Tue, 4 Aug 2009 14:39:10 +0000 (16:39 +0200)] 
Bug #2648: stateful helpers stuck in reserved if client disconnects while helper busy

Note: May depend on the other stateful helper cleanups.

16 years agoExtended ntlm/negotiate_test to support helper local thinking time/delays
Henrik Nordstrom [Tue, 4 Aug 2009 14:09:12 +0000 (16:09 +0200)] 
Extended ntlm/negotiate_test to support helper local thinking time/delays

16 years agoPrep for 3.1.0.13
Amos Jeffries [Tue, 4 Aug 2009 10:44:55 +0000 (22:44 +1200)] 
Prep for 3.1.0.13

16 years agoPrep for 3.0.STABLE18
Amos Jeffries [Tue, 4 Aug 2009 02:36:03 +0000 (14:36 +1200)] 
Prep for 3.0.STABLE18

16 years agoOptimize non-swappable objects slightly
Henrik Nordstrom [Tue, 4 Aug 2009 02:35:11 +0000 (04:35 +0200)] 
Optimize non-swappable objects slightly

16 years agofinetune memory release logics on objects being swapped out
Henrik Nordstrom [Tue, 4 Aug 2009 02:31:27 +0000 (04:31 +0200)] 
finetune memory release logics on objects being swapped out

16 years agoUnify memory_cache_first/disk into a single memory_cache_mode directive
Henrik Nordstrom [Tue, 4 Aug 2009 02:07:56 +0000 (04:07 +0200)] 
Unify memory_cache_first/disk into a single memory_cache_mode directive

16 years agoDon't release memory objects which have not been stored on disk
Henrik Nordstrom [Tue, 4 Aug 2009 02:06:40 +0000 (04:06 +0200)] 
Don't release memory objects which have not been stored on disk

16 years agoCorrect flush newly fetched small objects from cache_mem
Henrik Nordstrom [Tue, 4 Aug 2009 01:38:56 +0000 (03:38 +0200)] 
Correct flush newly fetched small objects from cache_mem

16 years agoSynced with memcache
Henrik Nordstrom [Tue, 4 Aug 2009 01:05:06 +0000 (03:05 +0200)] 
Synced with memcache

16 years agoMerged from trunk
Henrik Nordstrom [Tue, 4 Aug 2009 01:04:37 +0000 (03:04 +0200)] 
Merged from trunk

16 years agoMerged from trunk
Henrik Nordstrom [Tue, 4 Aug 2009 01:01:06 +0000 (03:01 +0200)] 
Merged from trunk

16 years agoTypo when reducing stateful helpers flags.reserved to a boolean
Henrik Nordstrom [Mon, 3 Aug 2009 13:27:45 +0000 (15:27 +0200)] 
Typo when reducing stateful helpers flags.reserved to a boolean

A lost ! kind of reintroduced Bug #2648 again but different.. sorry.

16 years agoReduce stateful helpers flags.reserved to a boolean
Henrik Nordstrom [Mon, 3 Aug 2009 10:17:22 +0000 (12:17 +0200)] 
Reduce stateful helpers flags.reserved to a boolean

this is further cleanup of stateful helper state. With the deferred state
now gone reserved is a boolean with only two possible states (free or reserved)

16 years agoRemove support for deferred state in stateful helpers
Henrik Nordstrom [Mon, 3 Aug 2009 10:01:04 +0000 (12:01 +0200)] 
Remove support for deferred state in stateful helpers

the deferred state were previously used for the challenge reuse mode
in NTLM, but is since long unused as it was both incompatible with
NTLMv2 and also not very stable for authentication.

16 years agoRename helperStatefulServerKickQueue to helperStatefulServerDone to better reflect...
Henrik Nordstrom [Mon, 3 Aug 2009 09:51:02 +0000 (11:51 +0200)] 
Rename helperStatefulServerKickQueue to helperStatefulServerDone to better reflect it's current functionality

16 years agoResolve merge conflicts
Henrik Nordstrom [Mon, 3 Aug 2009 09:47:18 +0000 (11:47 +0200)] 
Resolve merge conflicts

16 years agomerged from trunk
Henrik Nordstrom [Mon, 3 Aug 2009 09:35:08 +0000 (11:35 +0200)] 
merged from trunk

16 years agoConvert configure.in run-tests from exit to return for autoconf 2.64
Amos Jeffries [Mon, 3 Aug 2009 05:04:46 +0000 (17:04 +1200)] 
Convert configure.in run-tests from exit to return for autoconf 2.64

16 years agoUpdate autoconf macros for configure.in required for autoconf 2.64
Amos Jeffries [Mon, 3 Aug 2009 01:47:53 +0000 (19:47 -0600)] 
Update autoconf macros for configure.in required for autoconf 2.64

Squid-3 has a minimum of 2.62 anyway for several macros.
I'm not sure why it was set back to 2.52!!

16 years agoKill unused helperStatefulReset, redundant with helerStatefulRelease
Henrik Nordstrom [Sun, 2 Aug 2009 23:09:21 +0000 (01:09 +0200)] 
Kill unused helperStatefulReset, redundant with helerStatefulRelease

16 years agoMerged changes from trunk
Henrik Nordstrom [Sun, 2 Aug 2009 23:06:48 +0000 (01:06 +0200)] 
Merged changes from trunk

16 years agoCut away the deferred helper state
Henrik Nordstrom [Sun, 2 Aug 2009 22:54:14 +0000 (00:54 +0200)] 
Cut away the deferred helper state

16 years agoCleanup: Boost helper shutdown debugs and state display
Amos Jeffries [Sun, 2 Aug 2009 09:42:00 +0000 (21:42 +1200)] 
Cleanup: Boost helper shutdown debugs and state display

16 years agoBug #2732: reply_body_max_size smaller than error page loops infinitely until out...
Henrik Nordstrom [Sun, 2 Aug 2009 00:01:01 +0000 (02:01 +0200)] 
Bug #2732: reply_body_max_size smaller than error page loops infinitely until out of memory

16 years agoBug #2648: Reserved helpers not shut down after reconfigure/rotate
Henrik Nordstrom [Sat, 1 Aug 2009 23:26:13 +0000 (01:26 +0200)] 
Bug #2648: Reserved helpers not shut down after reconfigure/rotate

The race happens if the helpers are restarted(rotate/reconfigure) while
reserved. Those reserved are then not shut down when the reservation is
released.

This patch cleans this up and a couple of other related races.

16 years agoMerged from trunk
Henrik Nordstrom [Sat, 1 Aug 2009 21:29:10 +0000 (23:29 +0200)] 
Merged from trunk

16 years agoAccept libtool 2.x
Henrik Nordstrom [Sat, 1 Aug 2009 21:28:25 +0000 (23:28 +0200)] 
Accept libtool 2.x

16 years agoSynced with memcache
Henrik Nordstrom [Sat, 1 Aug 2009 21:21:03 +0000 (23:21 +0200)] 
Synced with memcache

16 years agoIndented
Henrik Nordstrom [Sat, 1 Aug 2009 21:20:37 +0000 (23:20 +0200)] 
Indented

16 years agoSynced with memcache
Henrik Nordstrom [Sat, 1 Aug 2009 21:18:52 +0000 (23:18 +0200)] 
Synced with memcache

16 years agoMerged from trunk
Henrik Nordstrom [Sat, 1 Aug 2009 21:16:34 +0000 (23:16 +0200)] 
Merged from trunk

16 years agoMerged from trunk
Henrik Nordstrom [Sat, 1 Aug 2009 21:15:57 +0000 (23:15 +0200)] 
Merged from trunk

16 years agoBug 2462: make check should tell when cppunit is missing
Amos Jeffries [Sat, 1 Aug 2009 12:20:03 +0000 (00:20 +1200)] 
Bug 2462: make check should tell when cppunit is missing

16 years agoEnforce Squid-3 code syles
Amos Jeffries [Sat, 1 Aug 2009 09:48:37 +0000 (21:48 +1200)] 
Enforce Squid-3 code syles

Bracket when mixing assignment and booleans:
  val = (boolean test)
  if ((assignment))
  if ((val = (boolean test)))

16 years agoAuthor: Lab10 <lab10@bt-anlagenbau.at>
Amos Jeffries [Sat, 1 Aug 2009 08:17:56 +0000 (20:17 +1200)] 
Author: Lab10 <lab10@bt-anlagenbau.at>
Bug 2728 regression: assertion failed: http.cc:705: "!eof"

Catch the zero size reply edge case again.

16 years agoCleanup: shuffle authenticate*ReleaseServer into member methods.
Amos Jeffries [Wed, 29 Jul 2009 09:07:56 +0000 (21:07 +1200)] 
Cleanup: shuffle authenticate*ReleaseServer into member methods.

No code change. Just removes some more global functions and castings.
Simplifies the duplicate case checking a bit too.

16 years agomerged from trunk
Henrik Nordstrom [Wed, 29 Jul 2009 08:51:50 +0000 (10:51 +0200)] 
merged from trunk

16 years agoindented
Henrik Nordstrom [Wed, 29 Jul 2009 08:46:52 +0000 (10:46 +0200)] 
indented

16 years agoAdded squid.conf directives for tuning when objects gets cached into memory
Henrik Nordstrom [Wed, 29 Jul 2009 08:44:07 +0000 (10:44 +0200)] 
Added squid.conf directives for tuning when objects gets cached into memory

16 years agoLanguage Updates: en-us alias
Amos Jeffries [Wed, 29 Jul 2009 02:21:06 +0000 (14:21 +1200)] 
Language Updates: en-us alias

16 years agoMake client attaching while an object is being swapped in disk clients
Henrik Nordstrom [Mon, 27 Jul 2009 22:03:12 +0000 (00:03 +0200)] 
Make client attaching while an object is being swapped in disk clients
so they can do the swapin if needed.

16 years agoMerged from trunk
Henrik Nordstrom [Mon, 27 Jul 2009 21:51:36 +0000 (23:51 +0200)] 
Merged from trunk

16 years agoUse typedefs of the relevant enums for store_status, swap_status and ping_status...
Henrik Nordstrom [Mon, 27 Jul 2009 21:50:59 +0000 (23:50 +0200)] 
Use typedefs of the relevant enums for store_status, swap_status and ping_status to make debugging easier (symbolic states instead of numbers)

16 years agoCorrect mem positioning of swapped in data
Henrik Nordstrom [Mon, 27 Jul 2009 21:48:18 +0000 (23:48 +0200)] 
Correct mem positioning of swapped in data

16 years agoMerged from trunk
Henrik Nordstrom [Mon, 27 Jul 2009 21:01:29 +0000 (23:01 +0200)] 
Merged from trunk

16 years agoDebugs message about error when headers < minimum size
Amos Jeffries [Mon, 27 Jul 2009 15:08:12 +0000 (03:08 +1200)] 
Debugs message about error when headers < minimum size

16 years agoRemove more goto. Fixing one internal profiler error
Amos Jeffries [Mon, 27 Jul 2009 13:06:51 +0000 (01:06 +1200)] 
Remove more goto. Fixing one internal profiler error

16 years agoMake room for data being read in from disk, to avoid overflowing cache_mem
Henrik Nordstrom [Mon, 27 Jul 2009 12:35:50 +0000 (14:35 +0200)] 
Make room for data being read in from disk, to avoid overflowing cache_mem

16 years agoindented
Henrik Nordstrom [Mon, 27 Jul 2009 12:16:51 +0000 (14:16 +0200)] 
indented

16 years agoMerged from trunk
Henrik Nordstrom [Mon, 27 Jul 2009 12:13:01 +0000 (14:13 +0200)] 
Merged from trunk

16 years agoBug 2725: pconn failure if domain or client_address are unset
Amos Jeffries [Mon, 27 Jul 2009 12:03:01 +0000 (00:03 +1200)] 
Bug 2725: pconn failure if domain or client_address are unset

16 years agoCopy data back into memory as it's being read from disk
Henrik Nordstrom [Mon, 27 Jul 2009 11:34:04 +0000 (13:34 +0200)] 
Copy data back into memory as it's being read from disk

16 years agoPolished r9854 "crash on shutdown" changes by removing explicit String
Alex Rousskov [Mon, 27 Jul 2009 01:51:24 +0000 (19:51 -0600)] 
Polished r9854 "crash on shutdown" changes by removing explicit String
creation. It should be sufficient to just declare TheNullServices as
a constant C string.

When a C string constant is in use, the code becomes less efficient, but
this will be solved when we can go back to using a String class.

16 years agoBug 2723 fix: enable PURGE requests if PURGE method ACL is present.
Alex Rousskov [Mon, 27 Jul 2009 01:41:02 +0000 (19:41 -0600)] 
Bug 2723 fix: enable PURGE requests if PURGE method ACL is present.

PURGE requests were always denied, probably since 2009-06-28 (r9772) changes.

PURGE was denied because Config2.onoff.enable_purge changes done in
ACLMethodData::parse() are lost when Squid memsets Config2 to zero before
interpreting the changes. Config2 is meant for storing values _derived_ from
the primary configuration phase so it is reset after that phase is over.

This patch solves the above problem by storing ACLMethodData::parse() changes
in an ACLMethodData static member. The member is reset before
[re]configuration.

There is probably another problem with r9772 (or earlier) changes. Special
PURGE method processing is enabled whenever a PURGE ACL is detected in the
Squid configuration file, even if the ACL is unused or used in an http_access
option that does not match. This is specifically what r4363 tried to avoid in
year 2000:
     users complain that defining an ACL that is never used in
     an access list shouldn't trip this flag.

The patch does not solve this other problem. The right solution may be adding
a dedicated "purge" option that will have an ACL that controls what PURGE
requests, if any, are allowed to purge. That option would be in addition to
any http_access controls.

16 years agoconst violation detected by GCC in how ftp.cc parsed login details
Henrik Nordstrom [Sun, 26 Jul 2009 21:22:41 +0000 (23:22 +0200)] 
const violation detected by GCC in how ftp.cc parsed login details

16 years agoUpdate comment to reflect code changed years ago
Henrik Nordstrom [Sun, 26 Jul 2009 21:21:51 +0000 (23:21 +0200)] 
Update comment to reflect code changed years ago

16 years agoPrep for 3.1.0.12
Amos Jeffries [Sun, 26 Jul 2009 13:04:53 +0000 (01:04 +1200)] 
Prep for 3.1.0.12

16 years agoPrep for 3.0.STABLE17
Amos Jeffries [Sun, 26 Jul 2009 12:15:01 +0000 (00:15 +1200)] 
Prep for 3.0.STABLE17

16 years agoRevert configure changes from b9854
Amos Jeffries [Sun, 26 Jul 2009 11:39:37 +0000 (23:39 +1200)] 
Revert configure changes from b9854

16 years agoHack to resolve crash on shutdown from global String(",null,")
Amos Jeffries [Sun, 26 Jul 2009 11:15:35 +0000 (23:15 +1200)] 
Hack to resolve crash on shutdown from global String(",null,")

Not even close to the best solution. But it will get us a running
3.1 release which we need right about now.

16 years agoAdd Unit-Tests for HttpReply
Amos Jeffries [Sun, 26 Jul 2009 09:24:07 +0000 (21:24 +1200)] 
Add Unit-Tests for HttpReply

Just the basics for some needed right now. This needs to be expanded.

Also, required to break some of the mime header parsing calls out into
mime_header.cc in preparation for splitting the icon handling from the
header handling and reduce dependencies on the new tests.

16 years agoBug 2620: Invalid HTTP response codes causes segfault
Amos Jeffries [Sun, 26 Jul 2009 09:08:24 +0000 (21:08 +1200)] 
Bug 2620: Invalid HTTP response codes causes segfault

Harden the sanity checks to detect negative status and other syntax issues
before they have a chance to become problems. This applies to replies and
responses both in varying ways.

Also document the sanity check logics. sanityCheck* is supposed to fill
out the error status for what it detects with each fail result.

16 years agoFix: Initialize HopByHop header mask
Amos Jeffries [Sun, 26 Jul 2009 04:38:26 +0000 (16:38 +1200)] 
Fix: Initialize HopByHop header mask

16 years agoRe-enable unit-tests for src/
Amos Jeffries [Sat, 25 Jul 2009 15:35:15 +0000 (03:35 +1200)] 
Re-enable unit-tests for src/

Somehow they got disabled earlier.

16 years agoTypo in squidclient.1
Amos Jeffries [Sat, 25 Jul 2009 02:50:48 +0000 (14:50 +1200)] 
Typo in squidclient.1

16 years agoFix signed/unsigned again when comparing header size
Henrik Nordstrom [Fri, 24 Jul 2009 16:30:33 +0000 (18:30 +0200)] 
Fix signed/unsigned again when comparing header size

16 years agoFix Via string when leak checking is enabled (valgrind etc)
Henrik Nordstrom [Fri, 24 Jul 2009 15:52:18 +0000 (17:52 +0200)] 
Fix Via string when leak checking is enabled (valgrind etc)

16 years agoKick any pending *ufs write/close operations alive when the previous write completes
Henrik Nordstrom [Fri, 24 Jul 2009 15:12:47 +0000 (17:12 +0200)] 
Kick any pending *ufs write/close operations alive when the previous write completes

When using uufs only part of the object got written out to the disk,
forgetting to write out the last butes and closing the file.
This should have been seen at least in in diskd as well even if it
for some reason did not seem to show up in simple tests.

Applies all the way down to 3.0.

16 years agoCorrect header limit checks. 64KB max is REQUIRED.
Amos Jeffries [Fri, 24 Jul 2009 12:58:17 +0000 (00:58 +1200)] 
Correct header limit checks. 64KB max is REQUIRED.

This fixes a few issues with too-long URLs or request headers.
Also one issue with too-long reply headers.

TODO: unit-tests to follow.

16 years agoSend fatal error if response header contains a nul-byte
Amos Jeffries [Fri, 24 Jul 2009 11:21:01 +0000 (23:21 +1200)] 
Send fatal error if response header contains a nul-byte

16 years agoAdd omitted break
Amos Jeffries [Thu, 23 Jul 2009 12:27:19 +0000 (00:27 +1200)] 
Add omitted break

16 years agoMake EPSV selection based on data socket protocol.
Amos Jeffries [Thu, 23 Jul 2009 12:13:42 +0000 (00:13 +1200)] 
Make EPSV selection based on data socket protocol.

* EPSV ALL still sent by preference.
* EPSV 2 only attempted on IPv6 data links
* EPSV 1 only attempted on IPv4 data links

16 years agoAuthor: Various Translators
Amos Jeffries [Wed, 22 Jul 2009 10:18:07 +0000 (22:18 +1200)] 
Author: Various Translators
Language Updates