about summary refs log tree commit diff stats
path: root/src/types
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-02-11 00:40:51 +0100
committerbptato <nincsnevem662@gmail.com>2024-02-11 00:40:51 +0100
commitb0583b4760a11bd062781e0ea948c61c8b66ff8f (patch)
tree5bfb46cb1aa57d62fb40d6b6869ac8a875071561 /src/types
parentd0690cfea6a87c7b7d801b968b5a1c85d1e99b4f (diff)
downloadchawan-b0583b4760a11bd062781e0ea948c61c8b66ff8f.tar.gz
Get rid of LOAD_PIPE BufferSource
Instead, use a stream: scheme and associate hostnames with file
descriptors directly from the pager.
Diffstat (limited to 'src/types')
-rw-r--r--src/types/buffersource.nim4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/types/buffersource.nim b/src/types/buffersource.nim
index 40b0f5a7..6377464e 100644
--- a/src/types/buffersource.nim
+++ b/src/types/buffersource.nim
@@ -10,7 +10,7 @@ import chakasu/charset
 
 type
   BufferSourceType* = enum
-    CLONE, LOAD_REQUEST, LOAD_PIPE
+    CLONE, LOAD_REQUEST
 
   BufferSource* = object
     location*: URL
@@ -21,5 +21,3 @@ type
       clonepid*: Pid
     of LOAD_REQUEST:
       request*: Request
-    of LOAD_PIPE:
-      fd*: FileHandle