瀏覽代碼

Remove now unneeded workaround

Serj Kalichev 6 月之前
父節點
當前提交
254c354bbd
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      klish/ktp/ktpd_session.c

+ 0 - 4
klish/ktp/ktpd_session.c

@@ -104,10 +104,6 @@ ktpd_session_t *ktpd_session_new(int sock, kscheme_t *scheme,
 	// Async object
 	ktpd->async = faux_async_new(sock);
 	assert(ktpd->async);
-	// Workaround. Make buffer a large else we have lost stdin
-	// TODO: It must be refactored. So large buffer is bad idea
-	faux_async_set_write_overflow(ktpd->async, 1000000000l);
-	faux_async_set_read_overflow(ktpd->async, 1000000000l);
 	// Receive message header first
 	faux_async_set_read_limits(ktpd->async,
 		sizeof(faux_hdr_t), sizeof(faux_hdr_t));