"Fossies" - the Fresh Open Source Software Archive

Member "ziproxy-3.3.2/ChangeLog" (19 Mar 2021, 35886 Bytes) of package /linux/www/ziproxy-3.3.2.tar.bz2:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "ChangeLog": 3.3.1_vs_3.3.2.

    1 19.3.2021 Daniel Mealha Cabrita
    2 	version 3.3.2
    3 	cfgfile.* ziproxy.c:
    4 		Corrected -fnocommon compilation issues in OpenBSD.
    5 	image.c:
    6 		Added compatibility with giflib 5+ API changes.
    7 	netd.c:
    8 		Corrected spelling error.
    9 
   10 3.12.2014 Daniel Mealha Cabrita
   11 	version 3.3.1
   12 	qparser.c configure.in:
   13 		Fixed strndup-related compiling problems.
   14 
   15 6.1.2013 Daniel Mealha Cabrita
   16 	version 3.3.0
   17 	image.c cfgfile.*:
   18 		Added option to remove alpha channel after
   19 		a specified average opacity threshold.
   20 		New option: AlphaRemovalMinAvgOpacity
   21 
   22 8.2.2012 Daniel Mealha Cabrita
   23 	version 3.2.1
   24 	image.c:
   25 		Fixed compilation issues with libpng 1.5.x.
   26 
   27 6.9.2010 Daniel Mealha Cabrita
   28 	version 3.2.0
   29 	auth.* cfgfile.* http.c sasl/ziproxy.conf:
   30 		Authentication system is now modular.
   31 		Added SASL authentication support.
   32 		New options: AuthMode, AuthSASLConfPath, AuthPasswdFile
   33 		Obsoleted option: PasswdFile
   34 	*.c *.h README CREDITS:
   35 		Updated source code and documentation to reflect the
   36 		license change (Juraj's code now being under 2-clause
   37 		BSD license).
   38 		Added more complete license text to the affected
   39 		portions.
   40 	configure.in cfgfile.c:
   41 		Fixed a bug which prevented compilation under certain
   42 		OSes/architectures (ex.: glibc + gcc + ARM).
   43 		Added a Nameservers compile-time enable/disable
   44 		feature switch.
   45 	THANKS CREDITS:
   46 		Added 'THANKS' file. Moved pertinent data from
   47 		'CREDITS' to that file.
   48 
   49 17.7.2010 Daniel Mealha Cabrita
   50 	version 3.1.3
   51 	http.c:
   52 		Fixed authentication problems with Safari.
   53 	qparser.c:
   54 		Fixed non-POSIX behavior. Fixes problems with eglibc
   55 		under certain architectures.
   56 
   57 2.7.2010 Daniel Mealha Cabrita
   58 	version 3.1.2
   59 	image.c:
   60 		In certain circumstances image recompression used too much CPU.
   61 		In other cases images were not being recompressed. Fixed.
   62 	session.* http.c netd.c ziproxy.c:
   63 		Fixed stdout/stdin (old) kludge in daemon mode. Now Ziproxy
   64 		used proper file descriptors. Stdout/stdin/stderr are
   65 		properly closed in daemon mode.
   66 
   67 15.6.2010 Daniel Mealha Cabrita
   68 	version 3.1.1
   69 	ziproxy_genhtml_stats.sh:
   70 		Fixed "bashisms". Should work with any Bourne-like shell now.
   71 	netd.c:
   72 		Added temporary workaround for data corruption when libjasper
   73 		decides to send warnings in certain, rare, circumstances.
   74 	image.c:
   75 		Fixed problem with certain imagens being corrupted after
   76 		alpha optimization processing (RGBA/YUVA) (new bug from 3.1.0).
   77 		Fixed security vulnerability (heap-related) in PNG
   78 		decoder (new bug from 3.1.0).
   79 		Transparent channels were not correctly loaded in certain
   80 		PNG pictures, resulting in corrupted or blank images.
   81 		Fixed (new bug from 3.1.0).
   82 		PNG loader code reorganization and cleanup.
   83 		Misc code optimizations in image optimization routines.
   84 
   85 3.6.2010 Daniel Mealha Cabrita
   86 	version 3.1.0
   87 	image.* http.h cdetect.*:
   88 		Image recompression core rewritten. Improved decision-taking
   89 		routines.
   90 		Added full support for transparency (affects PNG and JP2K targets).
   91 		Added detection and removal of useless alpha channel (certain
   92 		pictures with alpha channel may be recompressed to JPEG now).
   93 		Added palette and transparency optimization routines (affects
   94 		lossless compression: PNG targets).
   95 		Added alpha channel support to YUV-to/from-RGB routines.
   96 	image.* cfgfile.*:
   97 		Added option to convert images to grayscale for more
   98 		compression.
   99 		Obsoleted quasi-equivalent support of providing negative
  100 		values in ImageQuality.
  101 		Added alpha channel support to rgb2gray routine.
  102 		New option: ConvertToGrayscale
  103 	README ziproxy.conf:
  104 		Misc updates and fixes.
  105 
  106 20.5.2010 Daniel Mealha Cabrita
  107 	version 3.0.1
  108 	image.c http.c:
  109 		Fixed crashes when the raw (decompressed) picture size
  110 		exceeds integer limits (often 32bit).
  111 		Added other security provisions related to
  112 		raw picture size.
  113 
  114 18.4.2010 Daniel Mealha Cabrita
  115 	version 3.0.0
  116 	netd.c:
  117 		Obsoleted "-f" CLI option (use OnlyFrom config
  118 		option instead).
  119 	CREDITS:
  120 		Updated acknowledgments.
  121 	init.d/ziproxy:
  122 		Example initscript now uses built-in Ziproxy
  123 		user and PID support.
  124 	README:
  125 		Some updating/cleanup.
  126 	README man/ziproxy.1 netd.c:
  127 		Updated manpage. Minor related updates.
  128 
  129 8.3.2010 Daniel Mealha Cabrita
  130 	version 2.7.9_BETA3
  131 	strtables.c ziproxylogtool.c:
  132 		Minor tweaking in the hash-generation functions, to
  133 		reduce the likehood of hash collisions.
  134 	globaldefs.h ziproxylogtool.c:
  135 		Added GCC-specific optimizations to ziproxylogtool,
  136 		giving between 5%-15% speedup.
  137 		Such optimizations are innocuous to other compilers.
  138 	log.* cfgfile.* globaldefs.h gzpipe.c http.c netd.c
  139 	tosmarking.* ziproxy.c:
  140 		Fixed logging bug which added trash to HTTP output (bug
  141 		introduced in 2.7.9_BETA2).
  142 		Added more daemon error messages to error_log.
  143 		Several changes and code cleanup in debug_log.
  144 		Access log code rewritten from scratch and simplified.
  145 		Eliminated several log code dependencies from other
  146 		parts of Ziproxy.
  147 		Obsoleted AccessLogUserPOV option, due to code
  148 		maintainability concerns and small importance of
  149 		that option.
  150 	cttables.c:
  151 		Crashes occured when trying to compare a NULL (absent)
  152 		content-type. Fixed.
  153 	http.c:
  154 		Ziproxy returned garbage to the user when receiving
  155 		an empty response (0 bytes, no headers), instead of
  156 		issuing an error message. Fixed.
  157 	configure.in image.c:
  158 		Fixed compilation errors while compiling with libpng 1.4.
  159 		Should still compile with not-so-old previous libpng
  160 		versions.
  161 	cfgfile.* netd.c:
  162 		Added support for simultaneous user connection limit.
  163 		New option: MaxActiveUserConnections
  164 	cfgfile.* netd.c txtfiletools.*:
  165 		Added support for PID file.
  166 		Legacy behavior (dumping to stdout) is maintained
  167 		if this feature is not used.
  168 		New option: PIDFile
  169 	cfgfile.* netd.c:
  170 		Obsoleted NetdTimeout and removed related code.
  171 	cfgfile.* gzpipe.c http.c ziproxy.c:
  172 		Renamed parameter "ZiproxyTimeout" to "ConnTimeout".
  173 		Deprecated option: ZiproxyTimeout (still functional)
  174 		New option: ConnTimeout
  175 	cfgfile.* netd.c:
  176 		Added security options to run daemon as different user/group.
  177 		New options: RunAsUser, RunAsGroup
  178 	cfgfile.c image.c ziproxy.c:
  179 		Fixed old error output messages which used stderr directly,
  180 		instead of the proper log subsystem.
  181 		This fixes situations where broken GIFs resulted in
  182 		corrupted HTTP response.
  183 	cfgfile.* netd.c:
  184 		Added CLI parameters to set user/group.
  185 	cfgfile.* netd.c:
  186 		Added CLI parameter to set PID file.
  187 	netd.c:
  188 		Improvements on the daemon fail routines.
  189 		Now avoids unnecessary daemon abortions and busy loops.
  190 	netd.c:
  191 		Killing the daemon stops all children processes too.
  192 		Added verbosity to certain daemon errors.
  193 	ziproxy.c log.*:
  194 		Added support for SIGTERM interception.
  195 		Now transfers interrupted such way as logged aswell.
  196 		Added 'X' flag support to AccessLog.
  197 	netd.c log.*:
  198 		Added 'daemon' subsystem to error_log.
  199 		Updated daemon-related messages to report accordingly.
  200 	netd.c:
  201 		Added code to remove PID file in case of daemon
  202 		startup failure at a later stage.
  203 
  204 3.1.2010 Daniel Mealha Cabrita
  205 	version 2.7.9_BETA2
  206 	image.c:
  207 		Under certain circumstances, certain PNG pictures
  208 		could not be decompressed. Fixed.
  209 		This bug affected certain architectures, such as x86-64.
  210 	cfgfile.c qparser.*:
  211 		Added support for errors informing about obsoleted
  212 		configuration parameters, instead of just erring
  213 		as if it was a mere syntax error.
  214 		Obsolete parameters from previous versions were added.
  215 	cfgfile.c qparser.*:
  216 		Added support for errors informing about unsupported
  217 		configuration parameters (eg. features disabled
  218 		during compilation), instead of just erring
  219 		as if it was a mere syntax error.
  220 		Added JP2K-related parameters to this list.
  221 	cfgfile.* log.c netd.c:
  222 		Obsoleted LogPipe option and removed all related code.
  223 	cfgfile.c log.* netd.c text.c tosmarking.h ziproxy.c:
  224 		Minor miscellaneous fixes. Eliminates some compiler warnings.
  225 	cfgfile.* http.c image.c log.* netd.c preemptdns.c text.c
  226 	tosmarking.c ziproxy.c:
  227 		Obsoleted LogFile option, replaced by DebugLog.
  228 		Massive log-related functions renaming (in the source code)
  229 		to avoid confusion between different types of logging and
  230 		to improve code readability in general.
  231 		New option: DebugLog
  232 	JPEG2000.ru.txt README.ru README.tools.ru
  233 	ziproxylogtool.ru.1 ziproxy.ru.1:
  234 		Removed all Russian translations, due to lack of maintainer.
  235 	change_tos.list:
  236 		Added example file for TOSMarkAsDiffURL option.
  237 	cfgfile.* http.c:
  238 		Changed content-type gzip compression matching code.
  239 		Now it's possible to specify any content-type instead of
  240 		only subtypes of "application/".
  241 		Deprecated option: Compressible (still functional)
  242 		New option: LosslessCompressCT
  243 	cfgfile.* log.c:
  244 		Renamed parameter "AccessLogFileName" to "AccessLog".
  245 		Deprecated option: AccessLogFileName (still functional)
  246 		New option: AccessLog
  247 	cttables.c misc.*:
  248 		cttables was case-sensitive, that's against
  249 		RFC 1049 (RFC 1341). Fixed.
  250 	cfgfile.* http.c:
  251 		Added switch for "x-" subtype prefix matching for
  252 		content-type lists.
  253 		Migrated URLReplaceDataCTList to new content-type
  254 		lists subsystem.
  255 		New options: TOSMarkAsDiffCTAlsoXST,
  256 		             URLReplaceDataCTListAlsoXST,
  257 		             LosslessCompressCTAlsoXST
  258 	gzpipe.* http.* image.* log.* simplelist.c text.*
  259 	tosmarking.* globaldefs.h:
  260 		Changed filesize counter from signed int (usually 32 bits,
  261 		even in 64-bit architectures) to a local type (defined
  262 		during compile time, being that	at least 64 bits).
  263 		The most perpectible effect is seen in logs (no longer
  264 		wrong, often negative, size numbers for anything > 2GB).
  265 		This also fixes the data size limitation (up to 2GB) in
  266 		cases where Content-Lenght was used such as
  267 		HTTP method CONNECT, URLNoProcessing.
  268 	gzpipe.c log.* ziproxy.c ziproxy.conf:
  269 		Added 'G' flag support to AccessLog.
  270 		Added verbosity to streaming gzip/gunzip errors in DebugLog.
  271 	cfgfile.c ziproxy.conf:
  272 		Changed default of MinUncompressedGzipStreamEval from
  273 		250000 (~250kB) to 10000000 (~10MB).
  274 		This avoids trigging of MaxUncompressedGzipRatio if
  275 		ISO9660 images are compressed while streaming (the
  276 		first MBs of ISOs are highly compressible).
  277 	cfgfile.c ziproxy.conf:
  278 		Added "application/iso9660-image" content-type as
  279 		compressible (losslessly), in default settings.
  280 	log.c globaldefs.h:
  281 		Changed time measurement from signed int (usually 32 bits,
  282 		even in 64-bit architectures) to a local type (defined
  283 		during compile time, being that at least 64 bits).
  284 		Fixes problems of time logging of long downloads (>2G
  285 		microseconds, or >35 minutes) which previously gave
  286 		wrong, often negative, times.
  287 	cfgfile.* image.c log.* netd.c ziproxy.conf:
  288 		Implemented an internal error-message handling system.
  289 		Added more verbosity to error/warning conditions.
  290 		Previously unreported errors now appear.
  291 		Minor fixes in cfgfile.*.
  292 		Some code reorganization in log.*.
  293 		New option: ErrorLog
  294 		Obsoleted option: MSIETest
  295 	README src/*:
  296 		Updated copyright year to current one.
  297 
  298 14.12.2009 Daniel Mealha Cabrita
  299 	version 2.7.9_BETA
  300 	cfgfile.* gzpipe.c http.* log.* netd.c ziproxy.*
  301 	cttables.* globaldefs.h misc.* tosmarking.*:
  302 		Added TOS support (a provision for Level 7 QOS).
  303 		New options: TOSMarking, TOSFlagsDefault, TOSFlagsDiff,
  304 			TOSMarkAsDiffURL, TOSMarkAsDiffCT,
  305 			TOSMarkAsDiffSizeBT.
  306 	ziproxy.spec:
  307 		Removed. Unable to maintain this file properly.
  308 
  309 29.9.2009 Daniel Mealha Cabrita
  310 	version 2.7.2
  311 	README* image.* ziproxy.* netd.* ziproxy_genhtml_stats.sh:
  312 		Fixed Juraj's copyright years, considering old
  313 		code from 2002.
  314 	log.* ziproxy.c:
  315 		LogFile timer was not properly initialized and
  316 		the first measurement was always wrong. Fixed.
  317 
  318 12.9.2009 Daniel Mealha Cabrita
  319 	version 2.7.1
  320 	http.c:
  321 		Fixed HTTP/0.9 simple response support,
  322 		which was broken for aeons and nobody noticed.
  323 	text.c:
  324 		Gunzipped data smaller than the compressed was
  325 		being treated as corruped and data was simply
  326 		forwarded as is.
  327 		But that's not necessarily true (a certain website
  328 		thought it was a good idea to gzip jpegs, for example)
  329 		and in certain cases processing was not
  330 		applied because of that. Fixed.
  331 	http.c:
  332 		Implemented workaround for buggy sites which send:
  333 		Content-Encoding: ISO-8859-1 (violates RFC 2616).
  334 		Fixes certain pages which appeared as binary garbage
  335 		in the browser.
  336 
  337 13.4.2009 Daniel Mealha Cabrita
  338 	version 2.7.0
  339 	README.ru:
  340 		Added note stating this documentation is
  341 		currently outdated.
  342 
  343 13.3.2009 Daniel Mealha Cabrita
  344 	version 2.6.9_BETA2
  345 	stats.awk:
  346 		Obsolete. Removed.
  347 	image.c:
  348 		Fixed a bug which caused crashes in certain,
  349 		rare, specific situations while compressing to
  350 		jp2k.
  351 	cfgfile.* log.c ziproxy.c:
  352 		Added provision for crash (signal) interception
  353 		and logging (see new access log flags).
  354 		New option: InterceptCrashes
  355 	image.*:
  356 		Renamed image retcodes to a more standard
  357 		and uniform naming, for	better code readability.
  358 	image.* cfgfile.* http.c log.* ziproxy.c:
  359 		Added feature against "image bomb" DoS.
  360 		New option: MaxUncompressedImageRatio
  361 	image.c:
  362 		Fixed bug in rgb2yuv converter. In certain cases jp2
  363 		pictures had some very wrong colors (like deep red turned
  364 		into strong pink etc).
  365 	cfgfile.* http.* image.c text.* txtfiletools.c ziproxy.c:
  366 		Obsoleted ModifySuffixes. It was buggy and lost its
  367 		usefulness a long ago.
  368 		The following config options are obsolete:
  369 		ModifySuffixes,	MinTextStream
  370 		The following files were removed:
  371 		cfgtest.c
  372 		htmlmodify.h
  373 		htmlmodify_jp2.l
  374 		htmlmodify.l
  375 		imgtest.c
  376 		Makefile
  377 		modifytest.c
  378 		Also, additional code cleanup was done.
  379 		Test programs were obsolete and were
  380 		removed (imgtest, modifytest, cfgtest)
  381 		and no longer are a build option.
  382 		Flex is no longer required for building Ziproxy.
  383 	cfgfile.c:
  384 		Preventive bugfix (did not cause problems yet).
  385 	cfgfile.* http.c:
  386 		Added support for content substitution
  387 		by matching URL + content-type.
  388 		New options: URLReplaceDataCT, URLReplaceDataCTList
  389 	cfgfile.* http.c:
  390 		Added support for URL blocking.
  391 		New option: URLDeny
  392 	http.c:
  393 		Added support for "ICY" SHOUTcast headers.
  394 		Now icecasts from such servers are playable.
  395 
  396 25.2.2009 Daniel Mealha Cabrita
  397 	version 2.6.9_BETA
  398 	cfgfile.* http.c:
  399 		Added support for custom 403 error pages.
  400 	http.* ziproxy.c:
  401 		Fixed the type/signedness mess with outgoing Port vars.
  402 		Ports >= 32768 were not accessible.
  403 		Non-standard HTTP/HTTPS ports (non-80/443) were not
  404 		accessible in big-endian architectures.
  405 	cfgfile.* http.* ziproxy.c:
  406 		Added provision for outgoing port restrictions.
  407 		New options: RestrictOutPortHTTP, RestrictOutPortCONNECT
  408 	cfgfile.c ziproxy.conf:
  409 		Changed JPG and JP2K default settings to (hopefully)
  410 		better values.
  411 	image.c:
  412 		Bug which prevented recompression to jp2k
  413 		when more aggressive parameters were set to
  414 		color components, original image was forwarded
  415 		instead. Fixed.
  416 	jp2tools.* cfgfile.*:
  417 		Added Lanczos component upsampler support to JP2k.
  418 		New option: JP2Upsampler
  419 	image.c:
  420 		Encoding/decoding jp2 images with alpha channel
  421 		always fails. Fixed.
  422 	ziproxy_genhtml_stats.sh:
  423 		Fixed help message.
  424 
  425 26.11.2008 Daniel Mealha Cabrita
  426 	version 2.6.0
  427 	ziproxy.ru.1 ziproxylogtool.ru.1:
  428 		Added Russian manpages.
  429 	README.tools.ru README.ru JPEG2000.ru.txt:
  430 		Added Russian version of text documentation.
  431 	http.c ziproxy.conf cfgfile.*:
  432 		Added support for custom 407 and 409 error
  433 		pages.
  434 	http.c:
  435 		Under random conditions or unrelated configuration
  436 		changes the pictures were not recompressed.
  437 		Fixed.
  438 	http.c embbin.h:
  439 		Changed from 1x1 PNG to 1x1 GIF due to smaller
  440 		size of the latter.
  441 
  442 2.9.2008 Daniel Mealha Cabrita
  443 	version 2.5.9_BETA
  444 	http.c cfgfile.* replace.list embbin.h:
  445 		Added support for data replacement using
  446 		a URL list.
  447 		New option: URLReplaceData
  448 	http.c auth.* log.*:
  449 		Now a authenticated connection also logs the
  450 		username alongside its IP (username@X.X.X.X).
  451 	ziproxy.c simplelist.* cfgfile.* bo_exception.list:
  452 		Added support for host exception list when
  453 		using the BindOutgoing option.
  454 		New options: BindOutgoingExList, BindOutgoingExAddr
  455 
  456 31.3.2008 Daniel Mealha Cabrita
  457 	version 2.5.2
  458 	http.c:
  459 		Proxy authentication would bring access denial
  460 		if such was not requested by Ziproxy (that means
  461 		unnecessary authentication).
  462 		Now it is simply ignored and access is normal.
  463 	http.c:
  464 		Ziproxy did not send the proper URL to the
  465 		server (so it failed) when connecting to another proxy
  466 		_and_ the client accessed Ziproxy in transparent
  467 		proxy mode. Fixed.
  468 
  469 10.3.2008 Daniel Mealha Cabrita
  470 	version 2.5.1
  471 	http.c:
  472 		Originally gzipped data, one not processable,
  473 		to a client which supports gzip was being loaded
  474 		wholly into memory then recompressed back.
  475 		Now it's streamed directly to the client.
  476 		(thus less latency)
  477 
  478 28.1.2008 Daniel Mealha Cabrita
  479 	version 2.5.0
  480 	image.c:
  481 		JP2 component bitdepth set as !=8 would make
  482 		the process crash. Fixed.
  483 	cfgfile.c:
  484 		Certain defaults were unoptimal. Fixed.
  485 	ziproxy.conf:
  486 		Reorganized example configuration file,
  487 		clearer to read now.
  488 
  489 16.1.2008 Daniel Mealha Cabrita
  490 	version 2.4.8_BETA2
  491 	man/*:
  492 		Added manpages for ziproxy and ziproxylogtools.
  493 	http.* ziproxy.c txtfiletools.* urltables.* qparser.c:
  494                 Added support for list of URLs that should not be
  495                 processed by Ziproxy (due to bugs/incompatibilities).
  496                 New option: URLNoProcessing
  497 	ziproxy.conf:
  498 		ATTENTION: Changed the default location of
  499 		ziproxy.conf to /etc/ziproxy/ziproxy.conf
  500 		(was /etc/ziproxy.conf)
  501 	noprocess.list:
  502 		Added example configuration file.
  503 	auth.* strtables.* urltables.* http.c:
  504 		Routines for (basic) authentication mostly
  505 		rewritten.
  506 		Perceptible site-effect: comments are now
  507 		allowed in http.passwd file.
  508 
  509 7.1.2008 Daniel Mealha Cabrita
  510 	version 2.4.8_BETA
  511 	image.c http.c cfgfile.*:
  512 		Added input processing for JPEG 2000 files.
  513 		Previously Ziproxy could only compress to that
  514 		format. Now it is able to recompress and
  515 		even convert to other formats.
  516 		Now it is possible to compile with JP2K support
  517 		and disable that through the config file.
  518 		New options: ProcessJP2K, ForceOutputNoJP2K, ProcessToJP2K
  519 	image.c:
  520 		Major optimizations to the existing JP2K code
  521 		(the compression-to-JP2K code).
  522 	http.c:
  523 		Streaming data (no Content-Length) could be prematurely
  524 		interrupted in certain cases. Fixed.
  525 	image.* http.c cfgfile.*:
  526 		Added support for YUV color model for JP2K files.
  527 		New option: JP2Colorspace
  528 	image.* http.c cfgfile.*:
  529 		Added support for component and individual component
  530 		resolution (bit-wise) for JP2K files.
  531 		New options: JP2BitResYA, JP2BitResRGBA, JP2BitResYUVA
  532 	image.* cfgfile.*:
  533 		Now JP2K compression is specified in a similar way
  534 		as JPG files (quality-wise, instead of rate).
  535 		New option: JP2ImageQuality
  536 		Obsoleted option: JP2Rate
  537 	image.* cfgfile.* jp2tools.*:
  538 		Added suport for component sampling.
  539 		New options: JP2CSamplingYA, JP2CSamplingRGBA, JP2CSamplingYUVA
  540 	image.* cfgfile.* http.c:
  541 		Added switches for selective JP2 output support.
  542 		New options: AnnounceJP2Capability, JP2OutRequiresExpCap
  543 	JPEG2000.txt:
  544 		Rewritten from scratch.
  545 
  546 15.12.2007 Daniel Mealha Cabrita
  547         version 2.4.3
  548         Special version with urgent bugfix backport.
  549         This version is not present in CVS repository as is.
  550         http.c:
  551                 Streaming data (no Content-Length) could be prematurely
  552                 interrupted in certain cases. Fixed.
  553 
  554 4.12.2007 Daniel Mealha Cabrita
  555 	version 2.4.2
  556 	http.c:
  557 		Fixed broken user pipe detection while transferring
  558 		unprocessed stream-to-stream.
  559 	ziproxy.c log.*:
  560 		When server breaks the connection, ziproxy immediately
  561 		interrupted the transfer at client's side.
  562 		Now it will send the remaining data to the client.
  563 		The previous behavior could bring premature
  564 		disconnections.
  565 	text.c:
  566 		Content-Length wasn't being removed while
  567 		stream-to-stream gunzipping. Fixed.
  568 	ziproxy.c log.c:
  569 		Ziproxy crashed when AccessLogFileName wasn't defined.
  570 		Fixed. This bug appeared in 2.4.1 version.
  571 	ziproxy.c log.*:
  572 		Now (debug) log provides each line with the PID of the
  573 		specific process servicing the specific HTTP request.
  574 		Previously it merely provided the base Ziproxy process,
  575 		what is pretty much useless in daemon mode and made
  576 		sense only while using (x)inetd, or in pre-1.9.0 versions.
  577 	http.c:
  578 		Stream-to-stream (no further processing) routines were
  579 		rewritten and are >100x times faster now. This may bring
  580 		noticeable difference in cases where outgoing data
  581 		is something like 10 Mbps or more.
  582 		Added access log flag 'W'.
  583 
  584 22.11.2007 Daniel Mealha Cabrita
  585 	version 2.4.1
  586 	cfgfile.* netd.c ziproxy.*:
  587 		New option: BindOutgoing
  588 	cfgfile.* http.c:
  589 		New option: AccessLogUserPOV
  590 	ziproxy.conf:
  591 		Added new xml types as (gzip) compressible.
  592 		Added 'pdf' and 'tar' as compressible application types.
  593 	gzpipe.c ziproxy.c http.* log.*:
  594 		Added access log support for interrupted/timeouted transfers.
  595 		Added access log flags 'Z' (timeout)
  596 		and 'B' (broken pipe, interrupted)
  597 	image.c:
  598 		When decompressing jpeg incomplete files, ziproxy process
  599 		crashes (busy loops) until it timeouts. Fixed.
  600 
  601 28.10.2007 Daniel Mealha Cabrita
  602 	version 2.4.0
  603 	http.*:
  604 		If data is > MaxSize, junk was appended to the beginning
  605 		of it. Fixed.
  606 		Ziproxy tried to load into memory, data types which are
  607 		not supposed to be processed. Fixed.
  608 	text.c:
  609 		Trivial overflow problem which gave false positives
  610 		for "gunzip threshold limit". Fixed.
  611 	qparser.c:
  612 		When config file was essentially empty (only comments
  613 		or spaces) ziproxy issues this error:
  614 		ERROR: Invalid parameter --> <empty>
  615 		Fixed.
  616 	gzpipe.c:
  617 		Fixed intermitent bug when gzip-streaming pages
  618 		(random numbers appeared in the body of the page, mixed
  619 		with the content). This bug appeared in 2.3.5_BETA.
  620 	cfgfile.* http.c gzpipe.*:
  621 		New option: MinUncompressedGzipStreamEval
  622 	htmlopt.* http.c fstring.* cdetect.*:
  623 		Added support for javascript files as text/javascript.
  624 		Now tests whether text/html is indeed html
  625 		(not always the case, may be JS, CSS...)
  626 		Misc fixes to html opt (support more sites now).
  627 
  628 25.10.2007 Daniel Mealha Cabrita
  629 	version 2.3.5_BETA
  630 	http.c:
  631 		Broken gzip were not being uncompressed (that's ok)
  632 		but Ziproxy attempted to recompress those again. Fixed.
  633 	http.c:
  634 		Requests were broken when in transparent proxy mode _and_
  635 		the client explicited the port. Fixed.
  636 	various_files:
  637 		Fixed missing includes and certain inconsistencies in the
  638 		source code.
  639 		Removed unused variables.
  640 		Fixed (hopefully) all pointer compares in order to use NULL
  641 		instead of 0.
  642 		Those potentially preventing compilation in
  643 		certain systems.
  644 	qparser.*:
  645 		Replaced libconfuse with qparser, thus that library is
  646 		no longer used.
  647 		Fixes x86_64 (and possibly other arches) parsing problems.
  648 	configure.in:
  649 		Now check all headers used in source code.
  650 	http.* cfgfile.*:
  651 		New option: WA_MSIE_FriendlyErrMsgs
  652 		Misc bug fixes and code cleanup.
  653 		MinTextStream was using the decompressed size, what is
  654 		senseless if the data came pre-compressed by the remote
  655 		server. Fixed.
  656 	http.*:
  657 		Added (limited) support for partial data download
  658 		(Content-Range, Range).
  659 		"multipart/byteranges" mode works aswell (as side effect),
  660 		and that's a BUG. This must be disabled later
  661 		since it can build corrupt data at the user's end
  662 		(when dealing with jpg/gif/png and htmlopt-processed files).
  663 	http.* text.* gzpipe.*:
  664 		Added gzip/gunzip stream-to-stream support. Appliable
  665 		when no other optimizations are requested/viable.
  666 		Now logs aloways report gzipped transfers new sizes
  667 		(previously, streaming cases were reported as "-1").
  668 		A number of bugs fixed related to incoming gzipped data.
  669 	cfgfile.c ziproxy.conf:
  670 		Misc updates/improvements to the example config file.
  671 		Changed some defaults to more sensible values.
  672 
  673 11.9.2007 Daniel Mealha Cabrita
  674 	version 2.3.0
  675 	ziproxy.c:
  676 		Alternative network code for IPv4-only OSes was
  677 		completely broken. Fixed.
  678 	htmlopt.c:
  679 		Broken commented CDATA in JS processing.
  680 		Some pages using htmlopt were rendered broken.
  681 		Fixed.
  682 	http.c, cfgfile.*:
  683 		New option: AllowMethodCONNECT
  684 	http.c:
  685 		(default) error messages now contain some
  686 		meaningful info at the footer of the page,
  687 		like date and hostname.
  688 	http.* text.* cfgfile.*:
  689 		Ziproxy now supports internal processing of
  690 		gzipped data.
  691 		Now also possible to always advertise gzip capability,
  692 		no longer being dependant on the http client.
  693 		New option: OverrideAcceptEncoding
  694 		New option: MaxUncompressedGzipRatio
  695 	http.c cfgfile.*:
  696 		New option: RedefineUserAgent
  697 	http.c cfgfile.*:
  698 		New option: DecompressIncomingGzipData
  699 		Many fixes/changes in the HTTP processing routines.
  700 	htmlopt.c:
  701 		Changed quirky-linebreak processing to be more
  702 		like mainstream browsers, for more correct
  703 		rendering of certain broken pages.
  704 	htmlopt.* cfgfile.* http.c:
  705 		Fixed bug in HTMLopt which caused losing formatation
  706 		in textarea.
  707 		New option: ProcessHTML_TEXTAREA
  708 	htmlopt.c:
  709 		Fixed bugs related to javascript processing.
  710 
  711 8.5.2007 Daniel Mealha Cabrita
  712 	version 2.2.2
  713 	http.h:
  714 		Some files with too many headers were not loadable
  715 		(typically some wikipedia.org pictures). Fixed.
  716 	htmlopt.c:
  717 		Fixed commented (escaped, in a way) CDATA XML tag
  718 		which was being removed.
  719 	http.c:
  720 		Fixed trailing trash in html/javascript/css
  721 		when code optimization is enabled.
  722 	ziproxylogtool.c:
  723 		Added internal caching
  724 		(about 4.5x faster in large logs now)
  725 	Makefile.am:
  726 		README.tools was left behind. Added into.
  727 
  728 18.12.2006 Daniel Mealha Cabrita
  729 	version 2.2.1
  730 	cfgfile.c:
  731 		Fixed compilation issues with FreeBSD
  732 		(possibly affecting other OSes aswell)
  733 	ChangeLog:
  734 		Removed duplicated entry from 17.12.2006
  735 	CREDITS:
  736 		Some people were left out, fixed.
  737 
  738 17.12.2006 Daniel Mealha Cabrita
  739 	version 2.2.0
  740 	cfgfile.*, ziproxy.c:
  741 		New option: ConventionalProxy
  742 	http.c:
  743 		Fixed: standalone javascript files were not being
  744 		compressed, even when GZip=true
  745 	cfgfile.c:
  746 		Fixed: AllowLookChange default was not false
  747 		as it should be.
  748 	cfgfile.*, netd.c:
  749 		New option: Address
  750 	cfgfile.c:
  751 		New option: Nameservers
  752 	netd.c:
  753 		Ziproxy collected zombie childs only when a new incoming
  754 		connection arrived, what is not very elegant when
  755 		Ziproxy is in idle state and one type something like
  756 		$ ps xa | grep ziproxy
  757 		Fixed.
  758 	http.c:
  759 		Fixed: Ziproxy handled incorrectly 30x HTTP responses.
  760 		Certain sites were inaccessible.
  761 	tools/*:
  762 		Added Ziproxy Log Tools.
  763 
  764 2.9.2006 Daniel Mealha Cabrita
  765 	version 2.1.1
  766 	text.c:
  767 		Fixed a compilation bug when Jasper (JP2K) is enabled.
  768 		(This bug was introduced in version 2.1.0)
  769 	cfgfile.c:
  770 		Changed the default behavior of ModifySuffixes (when Ziproxy
  771 		is compiled with Jasper) to FALSE, in order to avoid more
  772 		problems. (Modify Suffixes is _very_ broken).
  773 
  774 26.7.2006 Daniel Mealha Cabrita
  775 	version 2.1.0
  776 	htmlopt.*:
  777 		EXPERIMENTAL FEATURE:
  778 		Inserted htmlopt into the code, a html/css/js
  779 		optimizer meant to reduce file size even further
  780 		prior to gzip compression.
  781 	cfgfile.*:
  782 		Added options: ProcessHTML, ProcessCSS, ProcessJS
  783 		and ProcessHTML_*
  784 	http.c:
  785 		Fixed a bug which made PreemptNameRes to scan
  786 		images too, wasting cpu time.
  787 		Also fixed a bug which could potentially lock
  788 		the ziproxy process while trying to compress
  789 		non-pictures as pictures.
  790 
  791 29.6.2006 Daniel Mealha Cabrita
  792 	version 2.0.0 (final)
  793 	Same as 1.9.1, it seems good enough for the major
  794 	version bump.
  795 
  796 28.6.2006 Daniel Mealha Cabrita
  797 	version 1.9.1 (aka 2.0.0 beta 2)
  798 	http.c:
  799 		Fixed a bug which prevented the gzip compression of
  800 		short-named types (such as pdf and rtf).
  801 
  802 18.5.2006 Daniel Mealha Cabrita
  803 	version 1.9.0 (aka 2.0.0 beta)
  804 	ziproxy.c netd.c:
  805 		Moved log handlers to netd.c for speedup in daemon mode.
  806 	netd.c:
  807 		Wrote proper daemonize code.
  808 	ziproxy.spec:
  809 		Some minor fixes.
  810 	xinetd/ziproxy:
  811 		Updated for the new invocation procedure.
  812 	init.d/ziproxy:
  813 		Added support for a properly demonized Ziproxy.
  814 
  815 17.5.2006 Daniel Mealha Cabrita
  816 	ziproxy.c http.* cfgfile.*:
  817 		Finished access log coding.
  818 		Added a new config option: AccessLogFileName
  819 
  820 16.5.2006 Daniel Mealha Cabrita
  821 	ziproxy.conf ziproxy.* netd.c cfgfile.* http.* log.* text.c:
  822 		Access log support (FIXME: output only to stderr for now)
  823 		Added a new config option: MinTextStream
  824 
  825 13.5.2006 Daniel Mealha Cabrita
  826 	ziproxy.h ziproxy.c http.c http.h cfgfile.c cfgfile.h ziproxy.conf:
  827 		Added support for transparent proxy
  828 		(via the TransparentProxy option)
  829 	cfgfile.c cfgfile.h:
  830 		Changed default setting of AllowLookChange and
  831 		PreemptNameResBC to false
  832 	netd.c: fixed small code glitch
  833 
  834 12.5.2006 Daniel Mealha Cabrita
  835 	netd.c:
  836 		New code for command line parameters parsing.
  837 		New options, other ones are changed.
  838 
  839 7.5.2006 Daniel Mealha Cabrita
  840 	started version 1.9.0 development
  841 	ziproxy.h ziproxy.c netd.c:
  842 		Obsoleted netd. ziproxy and netd integrated into ziproxy.
  843 		Both modes of operation still supported.
  844 		(For 'netd', call 'ziproxy -d' instead)
  845 		"WhereZiproxy" option is now obsolete.
  846 	cfgfile.c:
  847 		Changed default config file location to /etc/ziproxy.conf
  848 
  849 15.11.2005 Daniel Mealha Cabrita
  850 	version 1.5.2
  851 	cfgfile.c, cfgfile.h, http.c, ziproxy.conf:
  852 		Added (basic) proxy authentication support.
  853 		Contributed by Roman Korolyov
  854 
  855 4.9.2005 Daniel Mealha Cabrita
  856 	version 1.5.1
  857 	http.c, image.c, text.c
  858 		Fixed some uninitialized variables.
  859 
  860 16.7.2005 Daniel Mealha Cabrita
  861 	version 1.5.0
  862 	cfgfile.c, cfgfile.h, http.c, ziproxy.conf:
  863 		Added new config options:
  864 		CustomError400, CustomError404, CustomError408,
  865 		CustomError500, CustomError503
  866 		For customization of error messages, instead of
  867 		using the build-in html code.
  868 	400.html, 404.html, 408.html, 500.html, 503.html:
  869 		Added example files for error messages.
  870 
  871 16.7.2005 Daniel Mealha Cabrita
  872 	ziproxy.c: Fixed. Ziproxy tried to connect only to the first IP
  873 		from a resolved hostname. Now it tries other ones too
  874 		(up to 16, hardcoded). Solves the problem
  875 		of "connection refused" which happens with few websites.
  876 
  877 8.7.2005 Daniel Mealha Cabrita
  878 	ziproxy.spec: Misc fixes to specfile, now more portable.
  879 
  880 5.7.2005 Daniel Mealha Cabrita
  881 	htmlmodify_jp2.l: fix bug which prevented compilation with JPG2k support
  882 
  883 2.7.2005 Daniel Mealha Cabrita
  884 	image.c: fixed transparent gif detection
  885 		(sometimes problems when AllowLookChange = false)
  886 
  887 27.6.2005 Daniel Mealha Cabrita
  888 	preemptdns.c, preemptdns.h, cfgfile.c, cfgfile.h, http.c:
  889 		Added a new feature: preemptive hostname resolver.
  890 	image.c: fixed libpng-related warnings.
  891 
  892 16.6.2005 Daniel Mealha Cabrita
  893 	version 1.4.0
  894 	http.c: fixed a bug which made ziproxy processes to hang sometimes
  895 	http.c, cfgfile.c, cfgfile.h: added new config options:
  896 		ProcessJPG, ProcessPNG, ProcessGIF
  897 	netd.c: bugfix/workaround, netd does not close the socket while
  898 		exiting. Reopening socket with SO_REUSEADDR avoids errors.
  899 	ziproxy.conf: improvements to example config file.
  900 	RPM specfile created (ziproxy.spec)
  901 	Misc changes to documentation.
  902 	Initscript created (etc/init.d/ziproxy). Uses netd.
  903 
  904 13.7.2004 Juraj Variny
  905 	configure.in: static link to libconfuse by default
  906 	ziproxy.c: don't use NextProxy for HTTPS connections
  907 	
  908 11.7.2004 Juraj Variny
  909 	http.c: remove extra whitespace from headers before parsing; better 
  910 		checking for chunked correctness; forward oversize content 
  911 		instead of error
  912 	acinclude.m4: use confuse-config to find out flags
  913 	
  914 6.1.2004 Juraj Variny
  915 	Makefile.am, configure.in, config/acinclude.m4: little changes to 
  916 		remove warnings, getting 'make dist' working.
  917 	
  918 4.1.2004 Juraj Variny
  919 	image.c: apply AllowLookChange option to transparent PNGs too.
  920 	
  921 29.12.2003 Juraj Variny
  922 	cfgfile.c, image.c: added AllowLookChange option
  923 	
  924 24.11.2003 Juraj Variny
  925 	version 1.3b released
  926 
  927 23.11.2003  Cheuksan Wang
  928 	http.c: fix a typo in forward_content which causes all POST requests
  929 	to fail
  930 
  931 23.11.2003 Juraj Variny
  932 	version 1.3 released
  933 	cfgfile.c: CFG_SIMPLE_BOOL sometimes sets default value to false, use 
  934 		CFG_BOOL instead.
  935 	
  936 22.11.2003 Juraj Variny
  937 	http.c: redundant code causing unwanted timeouts removed from 
  938 		forward_content() 	
  939 	cfgfile.c: subtle change to Gzip option handling
  940 		
  941 11.11.2003 Juraj Variny
  942 	http.c, text.c: serious bugs fixed related to gzip compression
  943 
  944 29.10.2003 Juraj Variny
  945 	version 1.3beta released
  946 	
  947 25.10.2003 Juraj Variny
  948 	image.c, text.c: fixed JP2 mode HTML modification
  949 	cfgfile.c, README: updated documentation to be in sync with default 
  950 		config values
  951 	JPEG2000.txt: updated installation notes
  952 
  953 19.10.2003 Juraj Variny
  954 	image.c: try convert to PNG only if JPEG conversion is not 
  955 		satisfactory enough 
  956 	configure.in, bootstrap, acinclude.m4: removed some bugs and 
  957 		incompatibilities
  958 	
  959 10.10.2003 Juraj Variny
  960 	Autoconfiscated (added autoconf support to) the package. Added some 
  961 	files for autotools, bootstrap script and changed all sources to #include config.h .
  962 
  963 09.10.2003 Juraj Variny
  964 	image.c: removed awful buffer overrun bug in palette reduction algorithm.
  965 	
  966 08.10.2003 Juraj Variny
  967 	image.c: remove unused colors from palette, alpha implementation of 
  968 		images caching for IMGtoOBJ, some bugfixes.
  969 	nearly all files: fixed/added some comments
  970 	
  971 05.10.2003 Juraj Variny
  972 	http.c: fixed bad http_headers initialization
  973 	image.c: fixed bugs in GIF decompression/PNG compression 
  974 		and C incompatibilities.
  975 	
  976 04.10.2003 Juraj Variny
  977 	image.c: enabled GIF->PNG compression, alpha channel 
  978 	    handling for image formats that support it (PNG, JP2)
  979 	htmlmodify_*.l: common code was put into text.c
  980 	text.c: new module, while HTML modification for JP2, server is 
  981 	    asked for image size and decision is made whether to add 
  982 	    an OBJECT tag.
  983 		
  984 25.09.2003 Juraj Variny
  985 	ziproxy.c, http.c: squashed some bugs from restructuring
  986 	
  987 24.09.2003 Juraj Variny
  988 	ziproxy.c: restructured code
  989 	log.c, http.c: added new modules
  990 	
  991 22.09.2003  Cheuksan Wang
  992 	ziproxy.conf: Comment out LogPipe to make this file compatible with
  993 	both netd and xinetd.
  994 
  995 09.09.2003 Cheuksan E. Wang
  996 	image.c: Some palette PNG images may have alpha transparancy in them.
  997 	Remove it so we can convert into jpeg correctly.
  998 	
  999 08.09.2003 Juraj Variny
 1000 	htmlmodify_jp2.l: Improved HTML modification using OBJECT tags.
 1001 	ziproxy.c, image.c: If beginning of content indicates other image 
 1002 	    type than server does, use that type instead.
 1003 	
 1004 02.09.2003 Cheuksan E. Wang
 1005         xinetd/ziproxy: fix configuration using server_arg
 1006 
 1007 26.08.2003 Cheuksan E. Wang
 1008 	ziproxy.c: If we are sending a big file down a slow line, reset
 1009 	the alarm once a while so it won't time out in the middle.
 1010 
 1011 26.08.2003 Juraj Variny
 1012 	Makefile: More friendly JP2 setup
 1013 	
 1014 	htmlmodify_JP2.l, cfgfile.c, ziproxy.c: Added IMG->OBJ (or -> EMBED) 
 1015 	tag modification for JP2s. Added JP2Rate option.
 1016 	
 1017 	htmlmodify.l, cfgfile.c, ziproxy.c: Fixed minor bugs and made suffix 
 1018 	modification optional. After next release should be suffix modification 
 1019 	outside JP2 code removed.
 1020 	
 1021 16.08.2003 Juraj Variny
 1022 	image.c, ziproxy.c: Added basic JPEG2000 support.
 1023 	
 1024 10.08.2003 Cheuksan E. Wang
 1025 	ziproxy.c: Handle HTTP/1.0 Simple Response. 
 1026 	
 1027 09.08.2003 Juraj Variny
 1028 	ziproxy.c: fixed variable declaration to be plain C compatible
 1029 	
 1030 	ziproxy 1.2b released
 1031 	
 1032 04.08.2003 Juraj Variny
 1033 	image.c: added rgb2gray() conversion function
 1034 	
 1035 	ziproxy.c, imgtest.c: added call to rgb2gray()
 1036 	in case requested quality is negative.
 1037 	Handle zero quality.
 1038 
 1039 	ziproxy.c: if already began to sending data,
 1040 	don't corrupt them by sending error headers
 1041 	
 1042 	cfgfile.c: accept negative ImageQuality values
 1043 
 1044 30.07.2003 Cheuksan E. Wang
 1045 
 1046 	netd.c: allow users to specify a range of IP addresses with OnlyFrom
 1047 	
 1048 27.07.2003 Cheuksan E. Wang
 1049 
 1050 	netd.c: fixed OnlyFrom error message bug 
 1051 
 1052 20.07.2003 Cheuksan E. Wang
 1053 	
 1054 	ziproxy.c: Corrected some typos. Fixed the bug related to 304 
 1055 	response.
 1056 	
 1057 
 1058 20.07.2003 Juraj Variny
 1059 
 1060 	cfgfile.c: added confuse 2.x support
 1061 	
 1062 19.07.2003 Juraj Variny
 1063 	
 1064 	ziproxy.c: Changed maximal header line length to 4096
 1065 	
 1066 	image.c: added PNG signature check into png2bitmap()
 1067 	
 1068 06.03.2003 Juraj Variny
 1069 
 1070 	ziproxy 1.2 released