Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
[ANN] Cowboy 0.6.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Loïc Hoguin  
View profile  
 More options Aug 8 2012, 8:00 am
From: Loïc Hoguin <es...@ninenines.eu>
Date: Wed, 08 Aug 2012 14:00:06 +0200
Local: Wed, Aug 8 2012 8:00 am
Subject: [erlang-questions] [ANN] Cowboy 0.6.1
Hello,

Tagged a new version before starting to break API compatibility for the
upcoming big release. This version contains a few fixes that do not
break compatibility. I do not plan to make another release before 0.8.

Changes are:

*   Add hello_world, rest_hello_world, chunked_hello_world,
     echo_get, echo_post and static examples.

*   Add support for the "Expect: 100-continue" header.

*   Keep the original 'Host' header value instead of modifying it.

*   Fix use of parsed headers cache.

*   REST: fix the matching of charsets.

*   REST: allow <<"type/subtype">> format for content_types_accepted.

*   Improve typespecs.

I urge everyone to get out of master for a little while because the
switch to Ranch will break your project until you make the necessary
changes.

Thanks for your understanding.

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zabrane Mickael  
View profile  
 More options Aug 8 2012, 10:10 am
From: Zabrane Mickael <zabra...@gmail.com>
Date: Wed, 8 Aug 2012 16:10:44 +0200
Local: Wed, Aug 8 2012 10:10 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Hi Loïc,

Congrats for this new release.
Did it include the parsing of HTTP headers without the decode_packet call?

Regards,
Zabrane

On Aug 8, 2012, at 2:00 PM, Loïc Hoguin wrote:

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loïc Hoguin  
View profile  
 More options Aug 8 2012, 10:14 am
From: Loïc Hoguin <es...@ninenines.eu>
Date: Wed, 08 Aug 2012 16:14:50 +0200
Local: Wed, Aug 8 2012 10:14 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Nope that one comes after 0.8. It breaks API compatibility because the
point is most importantly to remove the inconsistencies of decode_packet
like the header name being either atom() or binary() and such.

On 08/08/2012 04:10 PM, Zabrane Mickael wrote:

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile  
 More options Aug 8 2012, 10:52 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Wed, 8 Aug 2012 18:52:04 +0400
Local: Wed, Aug 8 2012 10:52 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
What is better: rewrite parsing in erlang, either add translation of
atoms to binaries?
Isn't parsing via decode_packet very fast?

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loïc Hoguin  
View profile  
 More options Aug 8 2012, 11:39 am
From: Loïc Hoguin <es...@ninenines.eu>
Date: Wed, 08 Aug 2012 17:39:32 +0200
Local: Wed, Aug 8 2012 11:39 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
decode_packet would be a lot faster if it wasn't doing most things it's
actually doing that make it more problematic for me to handle requests.
Problems include:

* using both atoms and binaries for header names
* for binary header names, changing the case but only for name length <
22 characters, and with a weird behavior if it contains "--"
* returning tuples for everything (forces me to handle all the different
errors at the same level, and makes it harder to read)
* not allowing me to fail early (see previous)

I can simplify the code a lot by not using it, all without sacrificing
performance because I can still use binary BIFs instead. The only thing
that requires a little Erlang code is parsing the request line.

On 08/08/2012 04:52 PM, Max Lapshin wrote:

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile  
 More options Aug 8 2012, 11:44 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Wed, 8 Aug 2012 19:44:56 +0400
Local: Wed, Aug 8 2012 11:44 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Ok, I see.

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zabrane Mickael  
View profile  
 More options Aug 12 2012, 6:08 pm
From: Zabrane Mickael <zabra...@gmail.com>
Date: Mon, 13 Aug 2012 00:08:59 +0200
Local: Sun, Aug 12 2012 6:08 pm
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Hi guys,

> I can simplify the code a lot by not using it, all without sacrificing performance because I can still use binary BIFs instead. The only thing that requires a little Erlang code is parsing the request line.

That should be very easy too !

Regards,
Zabrane

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zabrane Mickael  
View profile  
 More options Aug 14 2012, 6:41 am
From: Zabrane Mickael <zabra...@gmail.com>
Date: Tue, 14 Aug 2012 12:41:31 +0200
Local: Tues, Aug 14 2012 6:41 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Hi Loïc,

Compiling lastest Cowboy from github with R15B01 and running Dialyzer, I got this:

cowboy $  make dialyze
  Checking whether the PLT .cowboy.plt is up-to-date... yes
  Proceeding with analysis...
cowboy_http_protocol.erl:36: Callback info about the cowboy_protocol behaviour is not available

Did you noticed that?

Regards,
Zabrane

_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Loïc Hoguin  
View profile  
 More options Aug 14 2012, 6:48 am
From: Loïc Hoguin <es...@ninenines.eu>
Date: Tue, 14 Aug 2012 12:48:23 +0200
Local: Tues, Aug 14 2012 6:48 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
That's something that got added to R15, but if you use it it can't
compile on R14, so since we are dropping R14 in the next version we
simply waited before adding the callback specs.

On 08/14/2012 12:41 PM, Zabrane Mickael wrote:

> Hi Loïc,

> Compiling lastest Cowboy from github with R15B01 and running Dialyzer, I got this:

> cowboy $  make dialyze
>    Checking whether the PLT .cowboy.plt is up-to-date... yes
>    Proceeding with analysis...
> cowboy_http_protocol.erl:36: Callback info about the cowboy_protocol behaviour is not available

> Did you noticed that?

> Regards,
> Zabrane

--
Loïc Hoguin
Erlang Cowboy
Nine Nines
http://ninenines.eu
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Motiejus Jakštys  
View profile  
 More options Aug 14 2012, 6:48 am
From: Motiejus Jakštys <desired....@gmail.com>
Date: Tue, 14 Aug 2012 13:48:49 +0300
Local: Tues, Aug 14 2012 6:48 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1

On Tue, Aug 14, 2012 at 1:41 PM, Zabrane Mickael <zabra...@gmail.com> wrote:
> Hi Loïc,

> Compiling lastest Cowboy from github with R15B01 and running Dialyzer, I got this:

> cowboy $  make dialyze
>   Checking whether the PLT .cowboy.plt is up-to-date... yes
>   Proceeding with analysis...
> cowboy_http_protocol.erl:36: Callback info about the cowboy_protocol behaviour is not available

> Did you noticed that?

This email explains it:
http://erlang.org/pipermail/erlang-questions/2012-June/067428.html

--
Motiejus Jakštys
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Max Lapshin  
View profile  
 More options Oct 2 2012, 1:09 am
From: Max Lapshin <max.laps...@gmail.com>
Date: Tue, 2 Oct 2012 09:09:13 +0400
Local: Tues, Oct 2 2012 1:09 am
Subject: Re: [erlang-questions] [ANN] Cowboy 0.6.1
Hi, Loic.

How would it be possible to do this thing in new cowboy:

https://github.com/erlyvideo/flussonic/blob/master/apps/flussonic/src...

I need to send stream via HTTP without end and without chunked response.
_______________________________________________
erlang-questions mailing list
erlang-questi...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »