Ice 3.8.2
2 min read
2 min read
2 min read
2 min read
2 min read
2 min read
2 min read
2 min read
2 min read
This patch release includes bug fixes and small improvements to Ice 3.8.
We list below the main highlights. Please refer to the changelog for a detailed description of all the changes included in this release.
WebSocket Origin Checking
The new adapter.AllowedOrigins property lets an object adapter restrict the origins accepted in WebSocket upgrade requests. This check is disabled by default. When enabled, it rejects requests with an Origin header that does not match an allowed origin; requests without this header remain accepted.
C# Changes
New Compiler Option for IceRPC
We added a new --icerpc option to the Slice compiler for C# (slice2cs). When this option is specified, slice2cs generates code for IceRPC C#. The generated code is compatible with IceRPC C# 0.6.
New Metadata Directives
We added two new metadata directives:
["cs:internal"], for top-level Slice definitions such as struct and interfaces. This metadata changes the access modifier for the generated C# constructs tointernal(the default remainspublic).["cs:readonly"], for Slice structs. See Slice Metadata Directives for details.
Code Hardening
We performed a comprehensive audit of the Ice source code using AI tools and applied fixes for various issues uncovered by this audit.