donghj2000

Results 17 comments of donghj2000

It is because django dose not parse body of application/json to request.POST field.You can convert json string to dict by yourself, like this: res = request.body json_str = res.decode('utf-8') json_dict...

some code snippet: ``` def emit(self, record): try: request = record.request subject = '%s (%s IP): %s' % ( record.levelname, ('internal' if request.META.get('REMOTE_ADDR') in settings.INTERNAL_IPS else 'EXTERNAL'), record.getMessage() ) import...

Glad to help you. I have not found why they didn't do so. Another workaround is to use Middleware: ``` class ParseJsonData(MiddlewareMixin): def process_request(self, request): if request.content_type.startswith("application/json"): try: json_str =...

It seems to be a bug exactly, but request.POST is initialized as a QueryDict(django.http.request.py->class HttpRequest) ,so I don't know how to deal with other JSON type...

v5.13.0 x64 exe和v5.12.1 x64 exe及以前的版本是好的。v5.14.0 x64 exe出异常。 但是v5.13.0 和v5.14.0 的源码只相差一行,编译出来的exe都能正常运行。 ![image](https://github.com/v2fly/v2ray-core/assets/84324399/a10fc90a-9ccf-48aa-8038-3e9c71d55247)

找到原因了,v5.15.0 使用了go 1.21版本来编译,该版本需要windows 10, 有些API在windows 7下没有。所以使用windows 7 会异常 。 https://github.com/golang/go/issues/64622

Obvious, function "stat" does not exist in luajit , you can try ffi to call system api.

There seems to be some bugs in your lua code in rewrite_by_lua, rewrite_by_lua_block or rewrite_by_lua_file. 0x000055f73c357837 in ngx_http_lua_rewrite_by_chunk (L=0x40f94378, r=0x55f73e518ae0) In addition please check the variable "validation" in conf file....

pls refer to https://github.com/donghj2000/nginx1.23.2-IOCP, i have done a visual studio 2015 project of nginx.