On Tue, Jan 14, 2014 at 10:56 PM, sri <kra...@googlemail.com> wrote:

> I don't know what this means, but between lines 63 and 64 of
>> Mojo::IOLoop::Server, I did `undef $fd;'...
>>
>
> Ah! That makes perfect sense and is easy to improve. :)
>
>
> https://github.com/kraih/mojo/commit/1c14ddae57c1ce9220227c7b966e8551c71e531b
>

$ env *MOJO_LISTEN=http://*:8080,http://*:8181* mojo daemon
Server available at http://127.0.0.1:8080.
Server available at http://127.0.0.1:8181.
$ mojo daemon *-l http://*:8080,http://*:8181*
*Can't create listen socket: Name or service not known at
/home/s/perl5/perlbrew/perls/perl-5.18.1/lib/site_perl/5.18.1/Mojo/IOLoop.pm
line 119.*
$ mojo daemon *-l http://*:8080 -l http://*:8181*
Server available at http://127.0.0.1:8080.
Server available at http://127.0.0.1:8181.
$ morbo *-l http://*:8080 -l http://*:8181* ./hello
Server available at http://127.0.0.1:8080.
Server available at http://127.0.0.1:8181.
$ morbo *-l http://*:8080,http://*:8181* ./hello
Server available at http://127.0.0.1:8080.
Server available at http://127.0.0.1:8181.

With the daemon and prefork commands, should you be able to specify
multiple listen sockets separated by , to the -l parameter like you do with
morbo / MOJO_LISTEN?  Or should you only be able to do it by specifying one
listen socket per -l parameter in contrast to morbo and MOJO_LISTEN?

-- 
*----------------------------------------------------------------*
*Keystone IT made the following notation*
*----------------------------------------------------------------*
*Email Confidentiality Notice: The information contained in this 
transmission is confidential, proprietary or privileged and may be subject 
to protection under the law, including the Health Insurance Portability and 
Accountability Act (HIPAA). *

*This message is for the sole use of the intended individual or entity to 
whom it is addressed. If you are not the intended recipient, you are 
notified that any use, distribution or copying of the message is strictly 
prohibited and may subject you to criminal or civil penalties. If you 
received this transmission in error, please contact the sender immediately 
at (314) 621-9500 and delete the material from all computers.*

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to