[#7872] Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...>

All, I needed a nonblocking socket connect for my asynchronous-event

18 messages 2006/05/14
[#7873] Re: Nonblocking socket-connect — Tanaka Akira <akr@...17n.org> 2006/05/14

In article <3a94cf510605140559l7baa0205le341dac4f47d424b@mail.gmail.com>,

[#7874] Re: Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...> 2006/05/15

How about introducing the method Socket#set_nonblocking, or alternatively

[#7875] Re: Nonblocking socket-connect — Yukihiro Matsumoto <matz@...> 2006/05/15

Hi,

[#7876] Re: Nonblocking socket-connect — "Francis Cianfrocca" <garbagecat10@...> 2006/05/15

Well, it's ok then. I'm comfortable adding in the nonblocking

[#7877] Re: Nonblocking socket-connect — Yukihiro Matsumoto <matz@...> 2006/05/15

Hi,

Re: [ ruby-Bugs-4500 ] Webrick: Missing -c parameter forces utf-8 even if with code page specified in meta tag

From: Eric Hodel <drbrain@...7.net>
Date: 2006-05-17 18:18:27 UTC
List: ruby-core #7899
On May 17, 2006, at 7:44 AM, noreply@rubyforge.org wrote:

> Bugs item #4500, was opened at 2006-05-17 16:44
> You can respond by visiting:
> http://rubyforge.org/tracker/? 
> func=detail&atid=1698&aid=4500&group_id=426
>
> Initial Comment:
> Seen on radrails 0.6.4 using ruby 1.8.2 which contains webrick 1.3.1:
> (on Windows)
>
> When starting a webrick server without the -c parameter, it uses
> use the UTF-8 code page as default.
> If there is a different code page specified in
> the <meta ... content-type=> tag in the HTML header, the specified
> code page should be used;
>
> That does not work; webrick ALWAYS seems to use UTF-8 even if a  
> different
> one is specified by a meta tag.

WEBrick doesn't parse what it serves to figure out content types, nor  
should it.  If you want to override the content type you should do  
that via the response object.

-- 
Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com



In This Thread

Prev Next