celluloid / reel

UNMAINTAINED: See celluloid/celluloid#779 - Celluloid::IO-powered web server
https://celluloid.io
MIT License
596 stars 87 forks source link

Calculating sizes for read/readpartial in writer_spec.rb test. #125

Open digitalextremist opened 10 years ago

digitalextremist commented 10 years ago

Per @tarcieri comment at https://github.com/celluloid/reel/pull/121#discussion-diff-8277222R18

-        buf << peer.readpartial(4096)
 +        buf << peer.read(95)

The above should be calculated, not hardcoded ... if this uses a specific number it

/cc: @stouset