oldmoe (Muhammad Ali)
- Login: oldmoe
- Email: oldmoe@gmail.com
- Registered on: 12/04/2008
- Last sign in: 07/02/2009
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 2 | 2 |
Activity
06/29/2009
-
06:25 AM Ruby Bug #1696: http downloads are unuseably slow
- =begin
I believe if the descriptor is set to non blocking then sysread will return
whatever data available or raise an error if there isn't any.
But non block is critical for large buffer sizes as select will return the
socket as rea...
06/28/2009
-
10:58 AM Ruby Bug #1696: http downloads are unuseably slow
- =begin
Not sure really, never tested it.
On Sun, Jun 28, 2009 at 2:29 AM, Roger Pack <rogerdpack@gmail.com> wrote:
> > Net/HTTP in 1.9.2dev is already working as you described with two
> > exceptions:
> > 1 - It uses nonblocking... -
07:48 AM Ruby Bug #1696: http downloads are unuseably slow
- =begin
Net/HTTP in 1.9.2dev is already working as you described with two
exceptions:
1 - It uses nonblocking I/O
2 - It uses a 16KB buffer
The 1MB buffer you are using is too large for several reasons:
1 - You use blocking I/O call...
05/16/2009
-
12:23 PM Ruby Bug #1295: SEGFAULT in RHEL 4
- =begin
How many files do you have in this directory? Seemingly you leave too many files open. Close the file you open in the same loop iteration. As for the segfault, I am not sure but I have seen 1.9.1 segfaulting when dealing with man...
04/19/2009
-
07:18 AM Ruby Bug #1392 (Closed): Object#extend leaks memory on Ruby 1.9.1
- =begin
A few bytes are leaked every time Object#extend is called, here is a sample 1.9.1 script
# This code is Ruby 1.9.x and above only
@extend = ARGV[0]
module BetterHash
def blabla
end
end
unless @extend...
12/27/2008
-
04:18 AM Ruby Bug #933 (Closed): Fiber class documentation
- =begin
Initial documentation for the Fiber class.
=end
12/21/2008
-
08:43 PM Ruby Bug #814: NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
- =begin
I noticed the patch only handled the EWOULDBLOCK exceptions and not EAGAIN.
Wouldn't just adding EAGAIN (and EINTR as well) to the handled exceptions
fix the 3 errors?
Regards
oldmoe
On Sun, Dec 21, 2008 at 5:59 AM,...