remove all PATH_MAX or MAX_PATH
[platform/upstream/libwebsockets.git] / changelog
1 Changelog
2 ---------
3
4 (development since 1.1....)
5
6 User api additions
7 ------------------
8
9  - lws_get_library_version() returns a const char * with a string like
10          "1.1 9e7f737", representing the library version from configure.ac
11          and the git HEAD hash the library was built from
12
13
14 User api changes
15 ----------------
16
17  - Header tokens are now deleted after the websocket connection is
18  established.  Not just the header data is saved, but the pointer and length
19  array is also removed from (union) scope saving several hundred bytes per
20  connection once it is established
21
22
23 New features
24 ------------
25
26  - Cmake project file added, aimed initially at Windows support: this replaces
27 the visual studio project files that were in the tree until now.
28
29  - PATH_MAX or MAX_PATH no longer needed
30
31
32 v1.1-chrome26-firefox18
33 =======================
34
35 Diffstat
36 --------
37
38  Makefile.am                            |    4 +
39  README-test-server                     |  291 ---
40  README.build                           |  239 ++
41  README.coding                          |  138 ++
42  README.rst                             |   72 -
43  README.test-apps                       |  272 +++
44  configure.ac                           |  116 +-
45  lib/Makefile.am                        |   55 +-
46  lib/base64-decode.c                    |    5 +-
47  lib/client-handshake.c                 |  121 +-
48  lib/client-parser.c                    |  394 ++++
49  lib/client.c                           |  807 +++++++
50  lib/daemonize.c                        |  212 ++
51  lib/extension-deflate-frame.c          |  132 +-
52  lib/extension-deflate-stream.c         |   12 +-
53  lib/extension-x-google-mux.c           | 1223 ----------
54  lib/extension-x-google-mux.h           |   96 -
55  lib/extension.c                        |    8 -
56  lib/getifaddrs.c                       |  271 +++
57  lib/getifaddrs.h                       |   76 +
58  lib/handshake.c                        |  582 +----
59  lib/libwebsockets.c                    | 2493 ++++++---------------
60  lib/libwebsockets.h                    |  115 +-
61  lib/md5.c                              |  217 --
62  lib/minilex.c                          |  440 ++++
63  lib/output.c                           |  628 ++++++
64  lib/parsers.c                          | 2016 +++++------------
65  lib/private-libwebsockets.h            |  284 +--
66  lib/server-handshake.c                 |  275 +++
67  lib/server.c                           |  377 ++++
68  libwebsockets-api-doc.html             |  300 +--
69  m4/ignore-me                           |    2 +
70  test-server/Makefile.am                |  111 +-
71  test-server/libwebsockets.org-logo.png |  Bin 0 -> 7029 bytes
72  test-server/test-client.c              |   45 +-
73  test-server/test-echo.c                |  330 +++
74  test-server/test-fraggle.c             |   20 +-
75  test-server/test-ping.c                |   22 +-
76  test-server/test-server-extpoll.c      |  554 -----
77  test-server/test-server.c              |  349 ++-
78  test-server/test.html                  |    3 +-
79  win32port/zlib/ZLib.vcxproj            |  749 ++++---
80  win32port/zlib/ZLib.vcxproj.filters    |  188 +-
81  win32port/zlib/adler32.c               |  348 ++-
82  win32port/zlib/compress.c              |  160 +-
83  win32port/zlib/crc32.c                 |  867 ++++----
84  win32port/zlib/crc32.h                 |  882 ++++----
85  win32port/zlib/deflate.c               | 3799 +++++++++++++++-----------------
86  win32port/zlib/deflate.h               |  688 +++---
87  win32port/zlib/gzclose.c               |   50 +-
88  win32port/zlib/gzguts.h                |  325 ++-
89  win32port/zlib/gzlib.c                 | 1157 +++++-----
90  win32port/zlib/gzread.c                | 1242 ++++++-----
91  win32port/zlib/gzwrite.c               | 1096 +++++----
92  win32port/zlib/infback.c               | 1272 ++++++-----
93  win32port/zlib/inffast.c               |  680 +++---
94  win32port/zlib/inffast.h               |   22 +-
95  win32port/zlib/inffixed.h              |  188 +-
96  win32port/zlib/inflate.c               | 2976 +++++++++++++------------
97  win32port/zlib/inflate.h               |  244 +-
98  win32port/zlib/inftrees.c              |  636 +++---
99  win32port/zlib/inftrees.h              |  124 +-
100  win32port/zlib/trees.c                 | 2468 +++++++++++----------
101  win32port/zlib/trees.h                 |  256 +--
102  win32port/zlib/uncompr.c               |  118 +-
103  win32port/zlib/zconf.h                 |  934 ++++----
104  win32port/zlib/zlib.h                  | 3357 ++++++++++++++--------------
105  win32port/zlib/zutil.c                 |  642 +++---
106  win32port/zlib/zutil.h                 |  526 ++---
107  69 files changed, 19556 insertions(+), 20145 deletions(-)
108
109 user api changes
110 ----------------
111
112  - libwebsockets_serve_http_file() now takes a context as first argument
113
114  - libwebsockets_get_peer_addresses() now takes a context and wsi as first
115         two arguments
116
117
118 user api additions
119 ------------------
120
121  - lwsl_...() logging apis, default to stderr but retargetable by user code;
122         may be used also by user code
123
124  - lws_set_log_level() set which logging apis are able to emit (defaults to
125         notice, warn, err severities), optionally set the emit callback
126
127  - lwsl_emit_syslog() helper callback emits to syslog
128
129  - lws_daemonize() helper code that forks the app into a headless daemon
130         properly, maintains a lock file with pid in suitable for sysvinit etc to
131         control lifecycle
132
133  - LWS_CALLBACK_HTTP_FILE_COMPLETION callback added since http file
134         transfer is now asynchronous (see test server code)
135
136  - lws_frame_is_binary() from a wsi pointer, let you know if the received
137         data was sent in BINARY mode
138
139
140 user api removals
141 -----------------
142
143  - libwebsockets_fork_service_loop() - no longer supported (had intractable problems)
144         arrange your code to act from the user callback instead from same
145         process context as the service loop
146
147  - libwebsockets_broadcast() - use libwebsocket_callback_on_writable[_all_protocol]()
148         instead from same process context as the service loop.  See the test apps
149         for examples.
150
151  - x-google-mux() removed until someone wants it
152
153  - pre -v13 (ancient) protocol support removed
154
155
156 New features
157 ------------
158
159  - echo test server and client compatible with echo.websocket.org added
160
161  - many new configure options (see README.build) to reduce footprint of the
162         library to what you actually need, eg, --without-client and
163         --without-server
164
165  - http + websocket server can build to as little as 12K .text for ARM
166
167  - no more MAX_CLIENTS limitation; adapts to support the max number of fds
168         allowed to the process by ulimit, defaults to 1024 on Fedora and
169         Ubuntu.  Use ulimit to control this without needing to configure
170         the library.  Code here is smaller and faster.
171
172  - adaptive ratio of listen socket to connection socket service allows
173         good behaviour under Apache ab test load.  Tested with thousands
174         of simultaneous connections
175
176  - reduction in per-connection memory footprint by moving to a union to hold
177         mutually-exclusive state for the connection
178
179  - robustness: Out of Memory taken care of for all allocation code now
180
181  - internal getifaddrs option if your toolchain lacks it (some uclibc)
182
183  - configurable memory limit for deflate operations
184
185  - improvements in SSL code nonblocking operation, possible hang solved,
186         some SSL operations broken down into pollable states so there is
187         no library blocking, timeout coverage for SSL_connect
188
189  - extpoll test server merged into single test server source
190
191  - robustness: library should deal with all recoverable socket conditions
192
193  - rx flowcontrol for backpressure notification fixed and implmeneted
194         correctly in the test server
195
196  - optimal lexical parser added for header processing; all headers in a
197         single 276-byte state table
198
199  - latency tracking api added (configure --with-latency)
200
201  - Improved in-tree documentation, REAME.build, README.coding,
202         README.test-apps, changelog
203
204  - Many small fixes
205
206
207 v1.0-chrome25-firefox17 (6cd1ea9b005933f)