mdscli: increase MAX_SLQ_TOCIDX
authorRalph Boehme <slow@samba.org>
Thu, 20 Apr 2023 14:52:19 +0000 (16:52 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 24 Jul 2023 15:18:32 +0000 (15:18 +0000)
Now that the client supports fragementation, when procesing reassambled large
result sets from macOS Spotlight server, it's possible to hit this limit in the
client. Let's just increase it to some larger value.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
source3/rpc_server/mdssvc/marshalling.c

index 3bbdd3777c67903781ae103339aa25d0258f0ac8..8860a5bddad76a7332bbf682d4ac02bfd5b98f29 100644 (file)
@@ -35,7 +35,7 @@
  * so we can only store so many elements there anyway.
  */
 #define MAX_SLQ_TOC 1024*64
-#define MAX_SLQ_TOCIDX 1024
+#define MAX_SLQ_TOCIDX 1024*8
 #define MAX_SLQ_COUNT 4096
 #define MAX_SL_STRLEN 1024