1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

Commit graph

  • b378ce9d18 Added support for CyaSSL replacement of OpenSSL. Joakim Soderberg 2013-02-06 15:29:18 +09:00
  • 4f4a38bae0 Added check for inline keyword availability. Joakim Soderberg 2013-02-06 15:28:07 +09:00
  • 68e8d730b8 Fixed build on OSX. Joakim Söderberg 2013-02-06 15:27:39 +09:00
  • d2edfec5fa Fixed linux compilation and added more compile options. Joakim Soderberg 2013-02-06 15:27:27 +09:00
  • 4c53123677 CMake support + fixed windows build. - Finalized CMake support (tested on windows only so far). - Uses a generated lws_config.h that is included in private-libwebsocket to pass defines, only used if CMAKE_BUILD is set. - Support for SSL on Windows. - Initial support for CyaSSL replacement of OpenSSL (This has been added to my older CMake-fork but haven't been tested on this version yet). - Fixed windows build (see below for details). - Fixed at least the 32-bit Debug build for the existing Visual Studio Project. (Not to keen fixing all the others when we have CMake support anyway (which can generate much better project files)...) - BUGFIXES: - handshake.c - used C99 definition of handshake_0405 function - libwebsocket.c - syslog not available on windows, put in ifdefs. - Fixed previous known crash bug on Windows where WSAPoll in Ws2_32.dll would not be present, causing the poll function pointer being set to NULL. - Uninitialized variable context->listen_service_extraseen would result in stack overflow because of infinite recursion. Fixed by initializing in libwebsocket_create_context - SO_REUSADDR means something different on Windows compared to Unix. - Setting a socket to nonblocking is done differently on Windows. (This should probably broken out into a helper function instead) - lwsl_emit_syslog -> lwsl_emit_stderr on Windows. - private-libwebsocket.h - PATH_MAX is not available on Windows, define as MAX_PATH - Always define LWS_NO_DAEMONIZE on windows. - Don't define lws_latency as inline that does nothing. inline is not support by the Microsoft compiler, replaced with an empty define instead. (It's __inline in MSVC) - server.c - Fixed nonblock call on windows - test-ping.c - Don't use C99 features (Microsoft compiler does not support it). - Move non-win32 headers into ifdefs. - Skip use of sighandler on Windows. - test-server.c - ifdef syslog parts on Windows. Joakim Soderberg 2013-02-06 15:26:58 +09:00
  • add3926b17 Some more Cmake stuff. Joakim Soderberg 2013-02-06 15:25:26 +09:00
  • 08e434eb66 Started redoing CMake support based on the up to date repos Joakim Soderberg 2013-02-01 14:52:53 +01:00
  • 0d49c8d1a0 improve test server poll loop docs Andy Green 2013-02-02 23:02:56 +08:00
  • a2156aa863 add note about MIPS opewrt configure options Andy Green 2013-02-02 18:10:29 +08:00
  • 81bbae0375 remove one more mention of broadcast callback Andy Green 2013-02-01 11:17:02 +08:00
  • 7b40545e92 introduce library version plus git hash Andy Green 2013-02-01 10:50:15 +08:00
  • 2d7acec9b2 remove stray reference to max broadcast size from readme.build Andy Green 2013-02-01 08:48:41 +08:00
  • 36eb70d7a9 additional casts allow test server build as cpp Andy Green 2013-02-01 08:42:15 +08:00
  • bd1132f9ac update changelog tag chrome 26 firefox 18 v1.1-chrome26-firefox18 Andy Green 2013-01-31 19:53:05 +08:00
  • c51823a418 renovate test html Andy Green 2013-01-31 19:50:57 +08:00
  • a35c86f115 add changelog v1.0 to v1.1 Andy Green 2013-01-31 10:16:44 +08:00
  • 2da89dccb0 bump version to 1.1 and soname to 2 Andy Green 2013-01-31 10:12:52 +08:00
  • 98feb4be18 clean out remaining mentions of deprecated broadcast Andy Green 2013-01-31 10:34:52 +08:00
  • d09d7d45f8 get error from getnameinfo if unable to improve hostname and use hostname Andy Green 2013-01-31 10:05:43 +08:00
  • cbb3122ab4 fixes for without server and without client Andy Green 2013-01-31 09:57:05 +08:00
  • daed4fbd54 fix unused var if no enable openssl Jack Mitchell 2013-01-30 18:53:36 +08:00
  • 769153ec5d introduce test echo Andy Green 2013-01-30 11:03:01 +08:00
  • 467c7ef552 add info about why we close to more places Andy Green 2013-01-30 12:28:34 +08:00
  • 96d882a9d8 roubustness handle problems in read loop better Andy Green 2013-01-30 12:27:27 +08:00
  • 5fc75a9b6b server allow NULL protocol map to protocol 0 Andy Green 2013-01-30 12:26:14 +08:00
  • aaf0b9f514 change get_peer_addresses to use context wsi latency Andy Green 2013-01-30 08:12:20 +08:00
  • e000a709b3 instrument latency Andy Green 2013-01-29 12:37:35 +08:00
  • d636e35c2b introduce lws_latency Andy Green 2013-01-29 12:36:17 +08:00
  • 3b228c5470 fix docs about protocol version supported Andy Green 2013-01-30 08:31:43 +08:00
  • 08f2c017e8 test server terminate cleanly on ctrl c Andy Green 2013-01-30 08:02:26 +08:00
  • 6f520a5195 evict all broadcast support Andy Green 2013-01-29 17:57:39 +08:00
  • 5e1b7fff3a FreeBSD compatibility Matthieu Riviere 2013-01-29 06:57:21 +08:00
  • ea0642abb2 trac 6 expose libwebsockets read with note about not normally needed Andy Green 2013-01-29 06:52:00 +08:00
  • 0794af94eb fix ssl bits outside of ifdef coverage Edwin van den Oetelaar 2013-01-28 21:53:53 +08:00
  • c4d05a5fa2 force client ssl bio nonblocking Andy Green 2013-01-28 17:48:21 +08:00
  • 1167dd4a6e force ssl rw bios nonblocking Andy Green 2013-01-28 17:45:34 +08:00
  • ba85a7dbbd timeout coverage for ssl accept Andy Green 2013-01-28 17:20:41 +08:00
  • e21607136c break up ssl accept action Andy Green 2013-01-28 12:19:10 +08:00
  • 6f047eea6c ensure accept is nonblocking Andy Green 2013-01-28 11:23:52 +08:00
  • 52f28ce67a autocreate foreign broadcast sockets on broadcast Andy Green 2013-01-25 17:34:15 +08:00
  • fefc6585db trac 5 sa_restorer deprecated Andy Green 2013-01-23 08:32:03 +08:00
  • d88146da6a trac 3 document write and context_user Andy Green 2013-01-22 12:40:35 +08:00
  • 75006171d7 trac 4 correct libebsocket_service_fd Andy Green 2013-01-22 12:32:11 +08:00
  • ab40eaa8db update numbers for minimal build footprint Andy Green 2013-01-21 13:20:33 +08:00
  • 35f332bb46 more LWS_NO_DAEMONIZE Andy Green 2013-01-21 13:06:38 +08:00
  • 5c54d622ff use correct LWS_NO_DAEMONIZE on test server Andy Green 2013-01-21 12:58:04 +08:00
  • bdd6bf3ccd bind gcc debug generation to_DEBUG Andy Green 2013-01-21 12:19:30 +08:00
  • 623a98dab0 unionize mutually exclusive wsi members Andy Green 2013-01-21 11:04:23 +08:00
  • 80f168b4ee key_b64 doesnt need to be in wsi Andy Green 2013-01-21 11:04:49 +08:00
  • f862463e2e avoid PATH_MAX in bss in daemonize Andy Green 2013-01-21 10:36:12 +08:00
  • 5738c0e838 remove all support for pre v13 protocols Andy Green 2013-01-21 09:53:35 +08:00
  • f5bc1306ef disable private broadcast sockets if enable no fork config option Andy Green 2013-01-21 09:09:52 +08:00
  • 596b220c40 align test server extpoll with library dynamic approach Edwin van den Oetelaar 2013-01-20 20:51:14 +08:00
  • 5c81e804fa document memory efficiency Andy Green 2013-01-20 20:14:42 +08:00
  • a17c692cd3 log major dynamic allocation info Andy Green 2013-01-20 20:21:54 +08:00
  • 13ba5bbc63 zlib not needed if no extensions Andy Green 2013-01-20 18:26:20 +08:00
  • 3182ece3a4 introduce without extensions Andy Green 2013-01-20 17:08:31 +08:00
  • 6c1f64e992 refactor README Andy Green 2013-01-20 11:28:06 +08:00
  • f6eeabc749 syslog requires format string Edwin van den Oetelaar 2013-01-19 20:01:01 +08:00
  • f431247270 revert zlib update 1.2.7 Andy Green 2013-01-19 15:11:23 +08:00
  • 24cba92c7e make use of lock file Andy Green 2013-01-19 13:56:10 +08:00
  • 0bf3ef605d windows compatibility changes for private libwebsockets FNA 2013-01-19 13:58:06 +08:00
  • fd6764a1fb test server add daemonization flag Andy Green 2013-01-19 11:11:42 +08:00
  • 058ba81017 test server use syslog logging Andy Green 2013-01-19 11:32:18 +08:00
  • 69e436444e allow_use_of_lwsl_logging in user code Andy Green 2013-01-19 11:58:07 +08:00
  • c11db201cf helper api: log through syslog Andy Green 2013-01-19 11:12:16 +08:00
  • b3a614add9 logging select some lwsl_info usage to be lwsl_notice Andy Green 2013-01-19 13:08:17 +08:00
  • 7c19c34f9a add lwsl_notice Andy Green 2013-01-19 12:18:07 +08:00
  • 0b31909cce expose log level in emit Andy Green 2013-01-19 11:17:56 +08:00
  • 3662b663bc change bitfield setting to avoid gcc warnings Andy Green 2013-01-19 11:52:06 +08:00
  • 10601c1fba improve frame_is_binary setting Andy Green 2013-01-19 10:39:35 +08:00
  • acbaee649a add lws_confirm_legit_wsi Andy Green 2013-01-18 22:00:22 +08:00
  • a1ce6be947 refactor and introduce without server configure option Andy Green 2013-01-18 11:43:21 +08:00
  • 2fd3f2f78f introdice tracking if frame is binary Andy Green 2013-01-18 09:49:20 +08:00
  • 759c9ac465 different compiler warning fixes Edwin van den Oetelaar 2013-01-18 09:20:54 +08:00
  • 6d1fcb7a95 add lexical parser for headers Andy Green 2013-01-18 01:55:48 +08:00
  • 4a673a38ca deprecate x google mux Andy Green 2013-01-17 19:53:16 +08:00
  • 706961dbb5 solve flowcontrol problems Andy Green 2013-01-17 16:50:35 +08:00
  • 0303db482e check errors on shutdown close Andy Green 2013-01-17 14:46:43 +08:00
  • dfb2304168 replace hashtable polltable management Andy Green 2013-01-17 12:26:48 +08:00
  • 6c720c4440 use simple lookup table for extpoll Edwin van der Oetelaar 2013-01-17 11:16:15 +08:00
  • b2de95d2d4 include daemonization file whoops Andy Green 2013-01-17 15:49:27 +08:00
  • eff73742bc portability dont assume size of tv.t_usec Andy Green 2013-01-17 15:02:02 +08:00
  • 6304686509 add disable debug to README configuration options list Andy Green 2013-01-17 10:15:52 +08:00
  • 27b3237392 including assert h needed on osx Peter Young 2013-01-17 10:10:10 +08:00
  • 26757a75bc just use limits.h directly Peter Young 2013-01-17 10:08:16 +08:00
  • 279a303662 introduce daemonize Andy Green 2013-01-17 10:05:39 +08:00
  • d32bb9128b client allow remote server to accept with no protocol set Andy Green 2013-01-17 00:50:48 +08:00
  • 443ea54c5c move array bounds gcc workaround outside function Andy Green 2013-01-16 17:46:00 +08:00
  • f7248f8dfa update ping test client and stop exposing payload to extensions Andy Green 2013-01-16 14:35:12 +08:00
  • cf3590e460 export lswl_hexdump Andy Green 2013-01-16 14:35:27 +08:00
  • 040d2efa12 roubustness only return 0 from fd service if handled Andy Green 2013-01-16 13:40:43 +08:00
  • 03674a655d configure without client Andy Green 2013-01-16 11:47:40 +08:00
  • 5378b143c3 test client remove usleep Andy Green 2013-01-16 12:32:20 +08:00
  • b429d48cf1 refactor output.c Andy Green 2013-01-16 12:21:29 +08:00
  • 76f61e7ade refactor migrate client stuff to client.c Andy Green 2013-01-16 11:53:05 +08:00
  • 53f437e4e1 add new context arg to libwebsockets_serve_http_file Andy Green 2013-01-16 11:45:38 +08:00
  • 1023d2b18f robustness server dont exit server on accept problems Andy Green 2013-01-16 11:43:53 +08:00
  • 3278872824 workaround for some gcc array bounds false positive Andy Green 2013-01-16 10:21:34 +08:00
  • fab033dd4f add logo to test file Andy Green 2013-01-16 10:11:34 +08:00