Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
6a2fd279
Commit
6a2fd279
authored
Aug 22, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://git.varnish-cache.org/git/varnish-cache
parents
9e7c2d4b
eed1a961
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
109 additions
and
1 deletion
+109
-1
cache_panic.c
bin/varnishd/cache_panic.c
+5
-0
cache_shmlog.c
bin/varnishd/cache_shmlog.c
+1
-1
changes.rst
doc/changes.rst
+103
-0
No files found.
bin/varnishd/cache_panic.c
View file @
6a2fd279
...
...
@@ -34,6 +34,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <pthread.h>
#ifndef HAVE_EXECINFO_H
#include "compat/execinfo.h"
...
...
@@ -56,6 +57,7 @@
*/
static
struct
vsb
vsps
,
*
vsp
;
pthread_mutex_t
panicstr_mtx
=
PTHREAD_MUTEX_INITIALIZER
;
/*--------------------------------------------------------------------*/
...
...
@@ -294,6 +296,9 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
const
char
*
q
;
const
struct
sess
*
sp
;
AZ
(
pthread_mutex_lock
(
&
panicstr_mtx
));
/* Won't be released,
we're going to die
anyway */
switch
(
xxx
)
{
case
3
:
VSB_printf
(
vsp
,
...
...
bin/varnishd/cache_shmlog.c
View file @
6a2fd279
...
...
@@ -288,7 +288,7 @@ VSL_Init(void)
vsl_wrap
();
VSM_head
->
starttime
=
(
intmax_t
)
TIM_real
();
VSM_head
->
panicstr
[
0
]
=
'\0'
;
memset
(
VSM_head
->
panicstr
,
'\0'
,
sizeof
*
VSM_head
->
panicstr
)
;
memset
(
VSC_C_main
,
0
,
sizeof
*
VSC_C_main
);
VSM_head
->
child_pid
=
getpid
();
}
...
...
doc/changes.rst
View file @
6a2fd279
==================================
Changes from 3.0.0 to 3.0.1 beta 1
==================================
Varnishd
--------
- Avoid sending an empty end-chunk when sending bodyless responsed.
- `http_resp_hdr_len` and `http_req_hdr_len` were set to too low
values leading to clients receiving `HTTP 400 Bad Request` errors.
The limit has been increased and the error code is now `HTTP 413
Request entity too large`.
- Objects with grace or keep set were mistakenly considered as
candidates for the transient storage. They now have their grace and
keep limited to limit the memory usage of the transient stevedore.
- If a request was restarted from `vcl_miss` or `vcl_pass` it would
crash. This has been fixed. `Bug #965`_.
- Only the first few clients waiting for an object from the backend
would be woken up when object arrived and this lead to some clients
getting stuck for a long time. This has now been fixed. `Bug #963`_.
- The `hash` and `client` directors would mistakenly retry fetching an
object from the same backend unless health probes were enabled.
This has been fixed and it will now retry a different backend.
.. _bug #965: http://varnish-cache.org/trac/ticket/965
.. _bug #963: http://varnish-cache.org/trac/ticket/963
VCL
---
- Request specific variables such as `client.*` and `server.*` are now
correctly marked as not available in `vcl_init` and `vcl_fini`.
- The VCL compiler would fault if two IP comparisons were done on the
same line. This now works correctly. `Bug #948`_.
.. _bug #948: http://varnish-cache.org/trac/ticket/948
varnishncsa
-----------
- Add support for logging arbitrary request and response headers.
- Fix crashes if `hitmiss` and `handling` have not yet been set.
- Avoid printing partial log lines if there is an error in a format
string.
- Report user specified format string errors better.
varnishlog
----------
- `varnishlog -r` now works correctly again and no longer opens the
shared log file of the running Varnish.
Other
-----
- Various documentation updates.
- Minor compilation fixes for newer compilers.
- A bug in the ESI entity replacement parser has been fixed. `Bug
#961`_.
- The ABI of vmods are now checked. This will require a rebuild of
all vmods against the new version of Varnish.
.. _bug #961: http://varnish-cache.org/trac/ticket/961
================================
Changes from 3.0 beta 2 to 3.0.0
================================
Varnishd
--------
- Avoid sending an empty end-chunk when sending bodyless responsed.
VCL
---
- The `synthetic` keyword has now been properly marked as only
available in `vcl_deliver`. `Bug #936`_.
.. _bug #936: http://varnish-cache.org/trac/ticket/936
varnishadm
----------
- Fix crash if the secret file was unreadable. `Bug #935`_.
- Always exit if `varnishadm` can't connect to the backend for any
reason.
.. _bug #935: http://varnish-cache.org/trac/ticket/935
=====================================
Changes from 3.0 beta 1 to 3.0 beta 2
=====================================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment