canonical libwebsockets.org websocket library
![]() OpenSSL doesn't seem to have a way to close out three allocations it creates during SSL library init. Even after doing the magic incantations suggested on the openssl list, we're left with these. Well, 88 bytes from ssl init is probably not critical, but it's annoying ==15206== HEAP SUMMARY: ==15206== in use at exit: 88 bytes in 3 blocks ==15206== total heap usage: 13,566 allocs, 13,563 frees, 5,933,134 bytes allocated ==15206== ==15206== 24 bytes in 1 blocks are still reachable in loss record 1 of 3 ==15206== at 0x4A06409: malloc (vg_replace_malloc.c:270) ==15206== by 0x3014C612B2: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.1c) ==15206== by 0x3015441B38: ??? (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x3015443A78: SSL_COMP_get_compression_methods (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x301544932B: SSL_library_init (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x4C340D4: libwebsocket_create_context (libwebsockets.c:1796) ==15206== by 0x401C08: main (in /usr/bin/libwebsockets-test-server) ==15206== ==15206== 32 bytes in 1 blocks are still reachable in loss record 2 of 3 ==15206== at 0x4A06409: malloc (vg_replace_malloc.c:270) ==15206== by 0x3014C612B2: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.1c) ==15206== by 0x3014CC91BE: sk_new (in /usr/lib64/libcrypto.so.1.0.1c) ==15206== by 0x3015441AF9: ??? (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x3015443A78: SSL_COMP_get_compression_methods (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x301544932B: SSL_library_init (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x4C340D4: libwebsocket_create_context (libwebsockets.c:1796) ==15206== by 0x401C08: main (in /usr/bin/libwebsockets-test-server) ==15206== ==15206== 32 bytes in 1 blocks are still reachable in loss record 3 of 3 ==15206== at 0x4A06409: malloc (vg_replace_malloc.c:270) ==15206== by 0x3014C612B2: CRYPTO_malloc (in /usr/lib64/libcrypto.so.1.0.1c) ==15206== by 0x3014CC91DC: sk_new (in /usr/lib64/libcrypto.so.1.0.1c) ==15206== by 0x3015441AF9: ??? (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x3015443A78: SSL_COMP_get_compression_methods (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x301544932B: SSL_library_init (in /usr/lib64/libssl.so.1.0.1c) ==15206== by 0x4C340D4: libwebsocket_create_context (libwebsockets.c:1796) ==15206== by 0x401C08: main (in /usr/bin/libwebsockets-test-server) ==15206== ==15206== LEAK SUMMARY: ==15206== definitely lost: 0 bytes in 0 blocks ==15206== indirectly lost: 0 bytes in 0 blocks ==15206== possibly lost: 0 bytes in 0 blocks ==15206== still reachable: 88 bytes in 3 blocks ==15206== suppressed: 0 bytes in 0 blocks Signed-off-by: Andy Green <andy.green@linaro.org> |
||
---|---|---|
cmake | ||
lib | ||
m4 | ||
scripts | ||
test-server | ||
win32port | ||
.gitignore | ||
autogen.sh | ||
changelog | ||
CMakeLists.txt | ||
config.h.cmake | ||
configure.ac | ||
COPYING | ||
INSTALL | ||
libwebsockets-api-doc.html | ||
libwebsockets.pc.in | ||
libwebsockets.spec | ||
LICENSE | ||
Makefile.am | ||
README | ||
README.build | ||
README.coding | ||
README.test-apps |
This is the libwebsockets C library for lightweight websocket clients and servers. For support, visit http://libwebsockets.org and consider joining the project mailing list at http://ml.libwebsockets.org/mailman/listinfo/libwebsockets You can get the latest version of the library from git http://git.libwebsockets.org https://github.com/warmcat/libwebsockets for more information: README.build - information on building the library README.coding - information for writing code using the library README.test-apps - information about the test apps built with the library