Parcourir la source

Update RELEASE NOTES

Release notes only contain a brief summary of selected changes.
For a full list of all changes, see:
git log --format=oneline eefb26f82b233268fc98577d265352720d477ba4..HEAD
bel2125 il y a 2 ans
Parent
commit
fe2a1aa175
2 fichiers modifiés avec 22 ajouts et 4 suppressions
  1. 20 1
      RELEASE_NOTES.md
  2. 2 3
      src/mod_lua.inl

+ 20 - 1
RELEASE_NOTES.md

@@ -1,12 +1,31 @@
 Release Notes v1.16
 ===
-### Objectives: *to be defined*
+### Objectives: *bug fixes, documentation, WebDAV*
 
 Changes
 -------
 
+- Define error codes for mg_start2, mg_start_domain2, mg_connect_client2
+- Fixes for OpenSSL 3.0 support
+- Add support for Mbed TLS v3.0.0
+- WebDAV should understand Windows File Explorer (experimental)
+- Accept HTTP basic authentication
+- Make pattern matching function availible in the public interface
+- Make base64 encoding and decoding functions available
+- Various fixes for HTTP/2 support
+- Additional examples
+- Fixes and updates to existing examples
+- Fix spelling errors in code and documentation
+- Remove Conan support
 - Update version number
 
+Known Issues
+-----
+
+- The WebDAV support when opening the web server in the Windows Explorer has various limitations when renaming or moving files and folders.
+- In particular file names in non-latin characters may break when using WebDAV with the Windows Explorer.
+
+
 
 Release Notes v1.15
 ===

+ 2 - 3
src/mod_lua.inl

@@ -2648,13 +2648,12 @@ static void *
 lua_allocator(void *ud, void *ptr, size_t osize, size_t nsize)
 {
 	(void)osize; /* not used */
-
+	struct mg_context *ctx = (struct mg_context *)ud;
 	if (nsize == 0) {
 		mg_free(ptr);
 		return NULL;
 	}
-
-	return mg_realloc_ctx(ptr, nsize, (struct mg_context *)ud);
+	return mg_realloc_ctx(ptr, nsize, ctx);
 }