Yes, BTT is now using Yaws.
A new release is ready in CVS.
(I'll make a proper tar-ball when back from vaccations)
Cheers , Tobbe
Bruce Fitzsimons wrote:
> Tobbe, and others,
>
> Has BTT been redone in Yaws? I saw you talking about it a while ago, and
> there seems to be a fair bit of work going on from the looks of the cvs
> repository.
>
> Is it ready to talk about yet? New features? Stuff? :-)
>
> /Bruce
>
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> Erlyaws-list mailing list
> Erlyaws-list@...
> https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Hi,
> However, I dislike the current solution and would like to replace it
> entirely, executing scripts and appmods but discarding any content
> they generate. This would make the headers being sent to the client
> more accurate and would allow following {page, ...} redirects, which I
> think is important.
This sounds OK to me. Web designers are not supposed to use GET requests if
they want side effects so there should be no danger in executing scripts
etc.
The other option would be to just miss out the Content-Length field from
HEAD responses which would have generated dynamic content - I think this is
still kind of valid HTTP/1.1
>
> For those concerned about performance impacts for GET requests by
> checking for the request method at several points: I was thinking of
> replacing
>
> accumulate_content(Data) ->
> case get(acc_content) of
> undefined ->
> put(acc_content, [Data]);
> List ->
> put(acc_content, [List, Data])
> end.
>
> by something like
>
> accumulate_content(Data) ->
> case get(acc_content) of
> undefined ->
> put(acc_content, [Data]);
> discard ->
> ok;
> List ->
> put(acc_content, [List, Data])
> end.
>
> and that would account for most of the checks.
i.e. no measurable performance hit - this is fine.
Sean
NOTICE AND DISCLAIMER:
This email (including attachments) is confidential. If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents. We cannot accept liability for any breaches of
confidence arising through use of email. Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions. We will not accept responsibility for any commitments
made by our employees outside the scope of our business. We do not warrant
the accuracy or completeness of such information.

Hi everyone!
The current implementation of requests with the HEAD method follows
the normal execution of GET request up to some point and then throws
{ok, 1}. Yaws scripts or appmods are not executed.
One misfeature of this is that HEAD requests are not logged. That
could of course be fixed.
However, I dislike the current solution and would like to replace it
entirely, executing scripts and appmods but discarding any content
they generate. This would make the headers being sent to the client
more accurate and would allow following {page, ...} redirects, which I
think is important.
For those concerned about performance impacts for GET requests by
checking for the request method at several points: I was thinking of
replacing=20
accumulate_content(Data) ->
case get(acc_content) of
undefined ->
put(acc_content, [Data]);
List ->
put(acc_content, [List, Data])
end.
by something like
accumulate_content(Data) ->
case get(acc_content) of
undefined ->
put(acc_content, [Data]);
discard ->
ok;
List ->
put(acc_content, [List, Data])
end.
and that would account for most of the checks.
Any objections?
Greetings,
Carsten
--=20
Carsten Schultz (2:40, 33:47), FB Mathematik, FU Berlin
http://carsten.fu-mathe-team.de/
PGP/GPG key on the pgp.net key servers,=20
fingerprint on my home page.

Tobbe, and others,
Has BTT been redone in Yaws? I saw you talking about it a while ago, and
there seems to be a fair bit of work going on from the looks of the cvs
repository.
Is it ready to talk about yet? New features? Stuff? :-)
/Bruce

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details