You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Stein <gs...@gmail.com> on 2010/08/25 21:16:14 UTC

serf 0.7.0 released

Hi all,

I'm pleased to announce the 0.7.0 release of serf.

Below is a quick summary of changes (since the 0.6.1 release):

  Fix double free abort when destroying request buckets.
  Fix test server in unit test framework to avoid random test failures.
  Allow older Serf programs which don't use the new authn framework to still
    handle authn without forcing them to switch to the new framework. (r1401)
  Remove the SERF_DECLARE macros, preferring a .DEF file for Windows
  Barrier buckets now pass read_iovec to their wrapped bucket.
  Fix HTTP header parsing to allow for empty header values.


Download details are at:
  http://code.google.com/p/serf/downloads/list

Direct link:
  http://serf.googlecode.com/files/serf-0.7.0.tar.bz2

  SHA1: 868fdb00e679dd84ed888ec77414698365530bae


Enjoy!

Cheers,
-g

Re: [serf-dev] serf 0.7.0 released

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On Wed, Aug 25, 2010 at 2:16 PM, Greg Stein <gs...@gmail.com> wrote:
> Hi all,
>
> I'm pleased to announce the 0.7.0 release of serf.

Thanks!  -- justin

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Blair Zajac <bl...@orcaware.com>.
On 08/25/2010 08:21 PM, Greg Stein wrote:
> On Wed, Aug 25, 2010 at 21:53, Branko Čibej<br...@xbc.nu>  wrote:
>> On 26.08.2010 01:46, Greg Stein wrote:
>>> On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz<ju...@erenkrantz.com>  wrote:
>>>
>>>> ...
>>>> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
>>>> Greg?  Lieven?  -- justin
>>>>
>>> 0.6.1 and 0.7.0 are effectively compatible. I think an unused function
>>> was removed, and the unused SERF_DECLARE stuff was removed.
>>>
>>
>> IIRC replacing the #declspec with a .DEF file will change the ABI for
>> DLLs on Windows. Shouldn't affect MacPorts or any other Unix-like system
>> though.
>
> Ah. Thanks for the info. The macros didn't do anything though (never
> got that far), so the declarations/implementations were the default
> callspec. Not sure if that matters, and I don't really care :-P ... as
> long as Blair is set, then we're good.

When svn 1.6.13 is released, we'll also cut serf over to 0.7.0 so both 
are recompiled at the same time.

Blair

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Greg Stein <gs...@gmail.com>.
On Wed, Aug 25, 2010 at 21:53, Branko Čibej <br...@xbc.nu> wrote:
> On 26.08.2010 01:46, Greg Stein wrote:
>> On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz <ju...@erenkrantz.com> wrote:
>>
>>> ...
>>> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
>>> Greg?  Lieven?  -- justin
>>>
>> 0.6.1 and 0.7.0 are effectively compatible. I think an unused function
>> was removed, and the unused SERF_DECLARE stuff was removed.
>>
>
> IIRC replacing the #declspec with a .DEF file will change the ABI for
> DLLs on Windows. Shouldn't affect MacPorts or any other Unix-like system
> though.

Ah. Thanks for the info. The macros didn't do anything though (never
got that far), so the declarations/implementations were the default
callspec. Not sure if that matters, and I don't really care :-P ... as
long as Blair is set, then we're good.

Background: serf used a set of DECLARE macros, much like Apache httpd
and APR. But Subversion showed that it was unnecessary since you could
just use a .def file instead of funky magic. And that it was easy to
create that .def as long as your header files were regularized in
their declaration formatting. So 0.7.0 drops the complexity and
switched to a simple .def generation instead. Lesson learned: it
doesn't pay to stick with old, tired idioms.

Cheers,
-g

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Branko Čibej <br...@xbc.nu>.
On 26.08.2010 01:46, Greg Stein wrote:
> On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz <ju...@erenkrantz.com> wrote:
>   
>> ...
>> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
>> Greg?  Lieven?  -- justin
>>     
> 0.6.1 and 0.7.0 are effectively compatible. I think an unused function
> was removed, and the unused SERF_DECLARE stuff was removed.
>   

IIRC replacing the #declspec with a .DEF file will change the ABI for
DLLs on Windows. Shouldn't affect MacPorts or any other Unix-like system
though.

-- Brane

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Greg Stein <gs...@gmail.com>.
On Wed, Aug 25, 2010 at 19:39, Justin Erenkrantz <ju...@erenkrantz.com> wrote:
>...
> I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
> Greg?  Lieven?  -- justin

0.6.1 and 0.7.0 are effectively compatible. I think an unused function
was removed, and the unused SERF_DECLARE stuff was removed.

These latest releases are fully incompatible with 0.3.x and earlier
releases, according to the "pre 1.0" caveat of the versioning
guidelines[1].

Cheers,
-g

[1] http://apr.apache.org/versioning.html#basics

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On Wed, Aug 25, 2010 at 4:24 PM, Blair Zajac <bl...@orcaware.com> wrote:
> On 8/25/10 4:16 PM, Justin Erenkrantz wrote:
>>
>> On Wed, Aug 25, 2010 at 4:01 PM, Peter Samuelson<pe...@p12n.org>  wrote:
>>>
>>> Yeah but presumably he's asking because he's linking libsvn_ra_serf to
>>> serf 0.3.x now, so the question remains: is 0.7.0 ABI-compatible with
>>> 0.3.x?  As far as I know, 0.3 is ABI-compatible with 0.2 and 0.1.
>>
>> Macports is at 0.6.1.  IOW, it's already busted now.  =(  -- justin
>
> Busted checkouts and operations are better than core dumps :)

Subversion 1.6.12 and serf 0.6.1 from Macports doesn't even do any
type of a checkout - it always errors out immediately.

Backing up, there are three faults:

 - API/ABI compatibility - this was broken way back in 0.4.0 - no
current 1.6.x release of Subversion can work with anything from serf
0.4.0 or higher.  You need the proposed backport to Subversion
(1.6.x-r879757) to make 1.6.x work with the serf 0.4.0+ API.

 - Authn framework fix - this is fixed in 0.7.0.

 - Memory usage - this is also fixed in 0.7.0.

1.7.x/trunk of Subversion could work with 0.4.0-0.6.1 - this is what
Stefan and others reported the memory leaks - but Subversion has never
officially released a version that works with serf 0.4.0+.

> Can I get an answer to the question?

I'm not sure there is any API/ABI changes between 0.6.1 and 0.7.0.
Greg?  Lieven?  -- justin

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Blair Zajac <bl...@orcaware.com>.
On 8/25/10 4:16 PM, Justin Erenkrantz wrote:
> On Wed, Aug 25, 2010 at 4:01 PM, Peter Samuelson<pe...@p12n.org>  wrote:
>> Yeah but presumably he's asking because he's linking libsvn_ra_serf to
>> serf 0.3.x now, so the question remains: is 0.7.0 ABI-compatible with
>> 0.3.x?  As far as I know, 0.3 is ABI-compatible with 0.2 and 0.1.
>
> Macports is at 0.6.1.  IOW, it's already busted now.  =(  -- justin

Busted checkouts and operations are better than core dumps :)

Can I get an answer to the question?

Blair

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On Wed, Aug 25, 2010 at 4:01 PM, Peter Samuelson <pe...@p12n.org> wrote:
> Yeah but presumably he's asking because he's linking libsvn_ra_serf to
> serf 0.3.x now, so the question remains: is 0.7.0 ABI-compatible with
> 0.3.x?  As far as I know, 0.3 is ABI-compatible with 0.2 and 0.1.

Macports is at 0.6.1.  IOW, it's already busted now.  =(  -- justin

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Peter Samuelson <pe...@p12n.org>.
[Justin Erenkrantz]
> On Wed, Aug 25, 2010 at 2:45 PM, Blair Zajac <bl...@orcaware.com> wrote:
> > Does it change the ABI?  Do we need to wait for the next svn 1.6.x release
> > before we can use it?  I'm asking because I maintain the MacPorts serf
> > package and don't want to break existing installs.
> 
> Subversion 1.6.12 is busted with serf 0.6.1 anyway.  =(
> 
> You'd need the next release of Subversion 1.6.x (assuming the pending
> backport is approved) to make 1.6.x work in combination with 0.7.0.

Yeah but presumably he's asking because he's linking libsvn_ra_serf to
serf 0.3.x now, so the question remains: is 0.7.0 ABI-compatible with
0.3.x?  As far as I know, 0.3 is ABI-compatible with 0.2 and 0.1.

Peter

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Peter Samuelson <pe...@p12n.org>.
[Justin Erenkrantz]
> On Wed, Aug 25, 2010 at 2:45 PM, Blair Zajac <bl...@orcaware.com> wrote:
> > Does it change the ABI?  Do we need to wait for the next svn 1.6.x release
> > before we can use it?  I'm asking because I maintain the MacPorts serf
> > package and don't want to break existing installs.
> 
> Subversion 1.6.12 is busted with serf 0.6.1 anyway.  =(
> 
> You'd need the next release of Subversion 1.6.x (assuming the pending
> backport is approved) to make 1.6.x work in combination with 0.7.0.

Yeah but presumably he's asking because he's linking libsvn_ra_serf to
serf 0.3.x now, so the question remains: is 0.7.0 ABI-compatible with
0.3.x?  As far as I know, 0.3 is ABI-compatible with 0.2 and 0.1.

Peter

Re: [serf-dev] Re: serf 0.7.0 released

Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
On Wed, Aug 25, 2010 at 2:45 PM, Blair Zajac <bl...@orcaware.com> wrote:
> Does it change the ABI?  Do we need to wait for the next svn 1.6.x release
> before we can use it?  I'm asking because I maintain the MacPorts serf
> package and don't want to break existing installs.

Subversion 1.6.12 is busted with serf 0.6.1 anyway.  =(

You'd need the next release of Subversion 1.6.x (assuming the pending
backport is approved) to make 1.6.x work in combination with 0.7.0.
-- justin

Re: serf 0.7.0 released

Posted by Blair Zajac <bl...@orcaware.com>.
On 8/25/10 2:16 PM, Greg Stein wrote:
> Hi all,
>
> I'm pleased to announce the 0.7.0 release of serf.
>
> Below is a quick summary of changes (since the 0.6.1 release):
>
>    Fix double free abort when destroying request buckets.
>    Fix test server in unit test framework to avoid random test failures.
>    Allow older Serf programs which don't use the new authn framework to still
>      handle authn without forcing them to switch to the new framework. (r1401)
>    Remove the SERF_DECLARE macros, preferring a .DEF file for Windows
>    Barrier buckets now pass read_iovec to their wrapped bucket.
>    Fix HTTP header parsing to allow for empty header values.

Does it change the ABI?  Do we need to wait for the next svn 1.6.x release 
before we can use it?  I'm asking because I maintain the MacPorts serf package 
and don't want to break existing installs.

Blair

Re: serf 0.7.0 released

Posted by Philip Martin <ph...@wandisco.com>.
Greg Stein <gs...@gmail.com> writes:

> I'm pleased to announce the 0.7.0 release of serf.

Subversion's redirect tests fail with serf 0.7.0, the client redirects
to 

  /svn-test-work/repositories/redirect_tests-2

instead of

  http://localhost:8888/svn-test-work/repositories/redirect_tests-2

-- 
Philip