소스 검색

* Don't enable binary transfer streaming just yet, but support it for later

Bryan Drewery 16 년 전
부모
커밋
8b547cfff0
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 2
      doc/UPDATES
  2. 2 1
      src/mod/update.mod/update.c

+ 0 - 2
doc/UPDATES

@@ -1,5 +1,3 @@
-* Binary can now also be transferred during upgrade without an extra port.
-
 1.2.17 - http://wraith.botpack.net/milestone/1.2.17
 * Binary pass prompt has been changed to be more clear.
 * Fix uname checking on NetBSD and OpenBSD

+ 2 - 1
src/mod/update.mod/update.c

@@ -78,7 +78,8 @@ static void update_ufno(int idx, char *par)
 static void update_ufyes(int idx, char *par)
 {
   if (dcc[idx].status & STAT_OFFEREDU) {
-    if (strstr(par, "stream")) {
+    // Disable update streaming until it is deemed necesary - way too slow currently
+    if (0 && strstr(par, "stream")) {
       start_sending_binary(idx, 1);
     } else {
       start_sending_binary(idx, 0);