Skip to content

Commit ec47676

Browse files
committed
1 parent df9fd21 commit ec47676

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ac.scm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,14 +1035,14 @@
10351035
(car args)
10361036
list)))))
10371037

1038-
; the 2050 means http requests currently capped at 2 meg
10391038
; http://list.cs.brown.edu/pipermail/plt-scheme/2005-August/009414.html
1039+
(define upload-limit* (* 30 1000 1000))
10401040

10411041
(xdef socket-accept (lambda (s)
10421042
(ar-init-socket
10431043
(lambda () (tcp-accept s))
10441044
(lambda (in out)
1045-
(list (make-limited-input-port in 100000 #t)
1045+
(list (make-limited-input-port in upload-limit* #t)
10461046
out
10471047
(let-values (((us them) (tcp-addresses out)))
10481048
them))))))

0 commit comments

Comments
 (0)