New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External bencode library and some other changes #243

merged 1 commit into from May 26, 2017


None yet
2 participants

Exileum commented May 25, 2017

Сторонняя библиотека для бенкодирования и ряд других мелких изменений.

@Exileum Exileum added this to the Версия 2.1.6 milestone May 25, 2017

@Exileum Exileum self-assigned this May 25, 2017

@Exileum Exileum requested a review from VasyOk May 25, 2017

@@ -77,7 +77,7 @@ function msg_die($msg)
'incomplete' => (int)$row['leechers'],
echo bencode($output);
echo \Rych\Bencode\Bencode::encode($output);
@@ -504,7 +504,7 @@ function send_torrent_with_passkey($filename)
// Send torrent
$output = bencode($tor);
$output = \Rych\Bencode\Bencode::encode($tor);
@@ -309,7 +309,7 @@ function tracker_register($attach_id, $mode = '', $tor_status = TOR_NOT_APPROVED
return torrent_error_exit($lang['TORFILE_INVALID']);
$info_hash = pack('H*', sha1(bencode($info)));
$info_hash = pack('H*', sha1(\Rych\Bencode\Bencode::encode($info)));
@@ -473,7 +473,7 @@ function msg_die($msg)
// Return data to client
echo bencode($output);
echo \Rych\Bencode\Bencode::encode($output);

@Exileum Exileum merged commit eb52f5a into torrentpier:master May 26, 2017

4 of 5 checks passed

codacy/pr Not so good... This pull request quality could be better.
CodeFactor No issues found.
SensioLabsInsight Code quality OK.
continuous-integration/styleci/pr The StyleCI analysis has passed
hound No violations found. Woof!

@Exileum Exileum deleted the Exileum:feature/external_bencoder branch May 26, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment