 diff -PNaur mongoose.orig/Makefile mongoose/Makefile
---- mongoose.orig/Makefile	2009-07-05 14:48:20.000000000 -0700
-+++ mongoose/Makefile	2009-10-30 10:56:08.078125000 -0700
+--- mongoose.orig/Makefile	2009-07-05 15:48:20.000000000 -0700
++++ mongoose/Makefile	2010-01-22 08:49:47.390625000 -0800
 @@ -1,96 +1,32 @@
 -# This file is part of Mongoose project, http://code.google.com/p/mongoose
 -# $Id: Makefile 433 2009-06-30 12:15:27Z valenok $

 	close_all_listening_sockets(ctx);
 	assert(ctx->num_listeners == 0);
 
@@ -3751,7 +3771,15 @@
 		}
 	}
 

+}
+// END BROWSERPLUS PATCH
diff -PNaur mongoose.orig/mongoose.h mongoose/mongoose.h
--- mongoose.orig/mongoose.h	2009-05-30 10:57:30.000000000 -0700
+++ mongoose/mongoose.h	2010-01-22 08:49:47.437500000 -0800
@@ -65,23 +65,55 @@
 		const struct mg_request_info *info, void *user_data);
 
