General

Profile

xiewenwei (xie wenwei)

  • Login: xiewenwei
  • Email: xiewenwei@gmail.com
  • Registered on: 11/24/2014
  • Last sign in: 10/13/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 0 1

Activity

11/16/2016

04:54 PM Ruby Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
I got it. It is not simple to fix as I expected before. Thank you. xiewenwei (xie wenwei)

11/15/2016

05:56 PM Ruby Feature #12928: Use socket conect_timeout in net stdlib for open_timeout

I changed the codes. Removed TCPSocket.for_fd and used socket directly now.
But I am no idea for DNS resolution timeout. How to fix it?
xiewenwei (xie wenwei)

11/14/2016

05:20 PM Ruby Feature #12928: Use socket conect_timeout in net stdlib for open_timeout
The codes are updated. I use Socket.tcp now. Socket.tcp returns Socket instance. So I need to convert it to TCPSocket instance using TCPSocket.for_fd. xiewenwei (xie wenwei)

11/13/2016

10:32 AM Ruby Feature #12928 (Open): Use socket conect_timeout in net stdlib for open_timeout

Current net/http and net/pop use Timeout.timeout to tigger open_timeout event.
Timeout.timeout is slow. It will create and destroy a thread every time.
Timeout.timeout is also dangerous. see [[http://www.mikeperham.com/2015/05/08/tim...
xiewenwei (xie wenwei)

11/24/2014

10:21 AM Ruby Feature #10489: Add inherit method for clearer and multiple inheritance
BrĂ¡ulio Bhavamitra wrote:
> A new and more intuitive syntax:
> ...
Module is "multiple inheritance" for ruby. I don't think it is a good idea.
xiewenwei (xie wenwei)

Also available in: Atom