alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.7k stars 327 forks source link

Update xqc_id_hash.h #256

Closed chunlei-wu closed 10 months ago

chunlei-wu commented 1 year ago

Change the issue in xqc_pow2, when you run the inline function on Windows, in the while(), the n will be change. Adding the temp and using it in the while will be OK.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

yuanbo-zhang commented 10 months ago

This issue has been fixed,xqc_pow2 can be remove,it can be replaced by the same function xqc_pow2_upper

Fixd:https://github.com/alibaba/xquic/pull/378/commits/cff8287003d1133993564edf74cf05538040ce81