Index: src/ne_defs.h
===================================================================
--- src/ne_defs.h	(revision 313)
+++ src/ne_defs.h	(working copy)
@@ -78,7 +78,7 @@
 #endif
 
 #ifndef NE_BUFSIZ
-#define NE_BUFSIZ 8192
+#define NE_BUFSIZ 32768 /* AVM 8192 */
 #endif
 
 #endif /* NE_DEFS_H */
Index: src/ne_md5.c
===================================================================
--- src/ne_md5.c
+++ src/ne_md5.c
@@ -447,7 +447,7 @@
 md5_stream (FILE *stream, void *resblock)
 {
   /* Important: BLOCKSIZE must be a multiple of 64.  */
-#define BLOCKSIZE 4096
+#define BLOCKSIZE 32768 /*4096*/
   struct ne_md5_ctx *ctx;
   char buffer[BLOCKSIZE + 72];
   size_t sum;
Index: src/ne_utils.h
===================================================================
--- src/ne_utils.h	(revision 313)
+++ src/ne_utils.h	(working copy)
@@ -79,6 +79,8 @@
 #define NE_DBG_HTTPBODY (1<<7) /* HTTP response body blocks */
 #define NE_DBG_SSL (1<<8) /* SSL/TLS */
 #define NE_DBG_FLUSH (1<<30) /* always flush debugging */
+#define NE_DBG_NO (1<<10) /* no debug messages */
+#define NE_DBG_AVM (1<<9) /* only selected messages */
 
 /* Send debugging output to 'stream', for all of the given debug
  * channels.  To disable debugging, pass 'stream' as NULL and 'mask'