File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -477,9 +477,6 @@ const PendingScript = struct {
477477 // will fail. This assertion exists to catch incorrect assumptions about
478478 // how libcurl works, or about how we've configured it.
479479 std .debug .assert (self .script .source .remote .capacity == 0 );
480-
481- // @newhttp TODO: pre size based on content-length
482- // @newhttp TODO: max-length enfocement
483480 self .script .source = .{ .remote = self .manager .buffer_pool .get () };
484481 }
485482
@@ -491,7 +488,6 @@ const PendingScript = struct {
491488 // .len = data.len,
492489 // });
493490
494- // @newhttp TODO: max-length enforcement ??
495491 try self .script .source .remote .appendSlice (self .manager .allocator , data );
496492 }
497493
@@ -704,8 +700,6 @@ const BufferPool = struct {
704700 }
705701
706702 fn release (self : * BufferPool , buffer : ArrayListUnmanaged (u8 )) void {
707- // @newhttp TODO: discard buffers that are larger than some configured max?
708-
709703 // create mutable copy
710704 var b = buffer ;
711705
You can’t perform that action at this time.
0 commit comments