Fix problem with delayed events being delayed for 213 days
Fix problem with delayed events being delayed for 213 days

The problem is potential overflow of a unsigned

in net.c line 108 it has

   timeval_from_usec(&tv, deadline_at - now);

problem is that between when deadline_at is calculated and when now is fetched we can end up with deadline_at < now and because they are unsigned we end up with a huge timeout

naderman/beanstalkd,naderman/beanstalkd,diditaxi/beanstalkd,PhillipMwaniki/beanstalkd,diditaxi/beanstalkd,CompendiumSoftware/beanstalkd,bmhatfield/beanstalkd,justintung/beanstalkd,LomoX-Offical/beanstalkd-win,kr/beanstalkd,qbdsoft/beanstalkd,bmhatfield/beanstalkd,Qihoo360/beanstalkd-win,r3jack/beanstalkd,mickeyouyou/beanstalkd,davies/beanstalkd,mobliyishengyuan/beanstalkd,mickeyouyou/beanstalkd,pinguo-xudianyang/beanstalkd,orangeholic/beanstalkd,LomoX-Offical/beanstalkd-win,naderman/beanstalkd,aidaima/beanstalkd,wyzssw/beanstalkd,JensRantil/beanstalkd,amyvmiwei/beanstalkd,yetone/beanstalkd,CompendiumSoftware/beanstalkd,potatosalad/beanstalkd,PhillipMwaniki/beanstalkd,ifduyue/beanstalkd,qbdsoft/beanstalkd,JensRantil/beanstalkd,lzpfmh/beanstalkd,wyzssw/beanstalkd,pinguo-xudianyang/beanstalkd,yetone/beanstalkd,r3jack/beanstalkd,kr/beanstalkd,tdg5/beanstalkd,potatosalad/beanstalkd,handautsav/beanstalkd,wfxiang08/beanstalkd,Qihoo360/beanstalkd-win,amyvmiwei/beanstalkd,handautsav/beanstalkd,ifduyue/beanstalkd,mobliyishengyuan/beanstalkd,tdg5/beanstalkd,justintung/beanstalkd,orangeholic/beanstalkd,cgvarela/beanstalkd,aidaima/beanstalkd,lzpfmh/beanstalkd,davies/beanstalkd,wfxiang08/beanstalkd,cgvarela/beanstalkd