Comments (5)
+1
Use telnet is not correct. Need to read a specified number of bytes.
from beaneater.
I forked this tonight in order to not only fix that issue, but also make it 8-bit clean as Net::Telnet will interpret things that look like Telnet command options etc. and so will barf on a lot of binary data. The easiest way for me was ripping out Net::Telnet and replacing it with raw TCPSockets. I also have corrected a few test cases that didn't take the correct length into account.
My commits are here: https://github.com/vidarh/beaneater/commits/tcpsocket
I've not opened a pull request for it yet because I had to comment out some of the test cases that strangely hang for me (it doesn't seem to like mocking TCPSocket), but I'd love any comments and would be happy to help adapt it if you're interested in considering merging it.
from beaneater.
Yeah I would agree we have to rip out Net::Telnet and replace with TCPSockets. Your commits look great, that's what I expected we would want to do. Definitely interested in merging it if you can get the pull request prepared. Thanks!
from beaneater.
Great. I'll prepare a pull request.
from beaneater.
I'm closing this issue, it's fixed here #19
from beaneater.
Related Issues (20)
- Initial example in documentation is wrong HOT 1
- Do you provide methods for testing worker? HOT 2
- Is there a "queue is empty" hook? HOT 9
- jobs are not reserved but the tube is being watched HOT 2
- Rails 4.2 Active Job Adapter HOT 2
- Job is nil when burying HOT 1
- Automated processing and signal handling
- Beaneater.new requires one argument HOT 3
- How to gracefully stop a worker HOT 2
- Get Number of Ready Jobs Enqueued into a Tube HOT 1
- Duplicate jobs in the queue
- Process! is not propagating Beaneater::NotConnected exception. HOT 1
- Beaneater::Jobs#process shouldn't rescue StandardError
- Segmentation faults
- # different job_serializer/job_parser function by tube
- ENV['BEANSTALKD_URL'] not working? HOT 1
- ENV for the URL :: not working?
- Using Hash#slice forces ruby 2.5+ HOT 4
- Weighted queues HOT 1
- using colon in one parameter causes a weird replacement by underscores HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beaneater.