diff --git a/src/http.h b/src/http.h index ab207a3c59a..eb7ecd774a1 100644 --- a/src/http.h +++ b/src/http.h @@ -13,6 +13,8 @@ public: static v8::Persistent client_constructor_template; static v8::Persistent server_constructor_template; + + virtual size_t size (void) { return sizeof(HTTPConnection); }; protected: static v8::Handle NewClient (const v8::Arguments& args); @@ -41,6 +43,8 @@ public: static void Initialize (v8::Handle target); static v8::Persistent constructor_template; + virtual size_t size (void) { return sizeof(HTTPServer); }; + protected: static v8::Handle New (const v8::Arguments& args);