dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.3.1
Rickmasta has joined #cinch
Azure has quit [Remote host closed the connection]
Rickmasta has quit [Read error: Connection reset by peer]
Rickmasta has joined #cinch
<ToasterKTN>
!* cmd exec gem update cinch
<ToasterKTN>
opps wrong channel sry :-D
<dominikh>
indeed.
<ToasterKTN>
Good morning. For smaller files up to 120k it seems to work now. Bigger files, i get Broken Pipes / Con resets but no Exception on cinch. it seems the bot closes the connection ebfore everything is transfered..
<ToasterKTN>
Its on a corporate network via VPN. So i guess no. Bu i can send you my few lines for the plugin if that helps
<dominikh>
how likely is it that the network connection is unreliable?
<ToasterKTN>
unlikly, i transfer gigs per day over this conns, without problems
<ToasterKTN>
lemme test a very big file.. like a gig to see if it breaks at the end
<ToasterKTN>
Hihi.. Well I am sorry man. But if i transfer 210MB i reveice 209MB. To be exact: Send 219291713 / receive 218997594 missing
<dominikh>
fwiw, "breaks at the end" isn't an accurate diagnosis. for example the bug I just fixed would lose data in the middle of the transfer, not at the end.
<dominikh>
so optimally, you'd compare the two files and see where data is missing
<ToasterKTN>
Well thats a binary. But the smallers 300K Files are syslogs. and they are broken at the end.. they stop like in the middle of a log line
<ToasterKTN>
And it differs.. i retransfered a few time the big files.. best transfer was up to 219251233
<ToasterKTN>
I retry with XChat. to make sure its not the client...
<ToasterKTN>
Same with other clients.. :(( (Connection reset by peer)
<dominikh>
well I'm sorry, but I can't spot anything wrong with the code. I have no idea what the issue is
<ToasterKTN>
I will make some tcp inspection to see what happens. Maybe i see something..
<dominikh>
ToasterKTN: try replacing ws.first.write with ws.first.send and see if it makes any difference whatsoever
<ToasterKTN>
Yeah, that differs.. now i get 0 Bytes :-D
<dominikh>
at least it's a consistent result
<ToasterKTN>
/var/lib/gems/1.9.1/gems/cinch-2.3.2/lib/cinch/dcc/outgoing/send.rb:109:in `send': wrong number of arguments (1 for 2..3) (ArgumentError)
<dominikh>
try send(chunk, 0)
<dominikh>
instead of send(chunk)
<ToasterKTN>
Same problem as before.. i got 208/209MB
<dominikh>
no idea then. also I'm going to bed now, so we'll have to talk later.
<ToasterKTN>
Good night, and thanks for your support. i will do some investigation..
<dominikh>
good luck. bye.
<ToasterKTN>
!ctsprdsup001 syslog 1000
<ToasterKTN>
!ctsprdsup001 syslog 1000
<ToasterKTN>
sry :-D
greenbigfrog has quit [Ping timeout: 250 seconds]
greenbigfrog has joined #cinch
greenbigfrog has quit [Client Quit]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ToasterKTN>
Because i have no clue on ruby, i did not yet find a clean way to backout, if con breaks or if a packet gets missed. as i understud the whitepapers, the bytes i get back are a 32bit int with the amount of data received. Would be nice to check that.
Rickmasta has joined #cinch
greenbigfrog has quit [Quit: The server of my BNC just shutdown or got killed!!!]
tinnvec has quit [Ping timeout: 268 seconds]
tinnvec has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
greenbigfrog has joined #cinch
Rickmasta has joined #cinch
<dominikh>
The acks in DCC are entirely useless and slow down transfers a lot. They aren't numbered, so you can't recover. All modern clients pretty much ignore them
<ToasterKTN>
@dominikh Yeah i checked a few of them... most client dont seems to run like that
<ToasterKTN>
this is kinda annoying.. 30 years old standards, and still not usefull :-D
<ToasterKTN>
well i guess i will kinda upload shit to a webserver and post a link to my clients :-X
Gizmokid2005 has quit [Quit: Uh-oh!! The Gizmo is gone!!!! Good Riddance.]
Gizmokid2005 has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ToasterKTN has quit [Remote host closed the connection]
ToasterK_ has joined #cinch
ToasterK_ is now known as ToasterKTN
Azure has joined #cinch
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]