Skip to content

file upload problem whe using custom eventlib #3219

@gmfcd128

Description

@gmfcd128

When I want to want to send a medium size file onto my embedded HTTP server with custom eventlib enabled, the upload will make the system hang for a bit and not finish(server not respond to TCP), and it is fine when I run the application in normal mode.
I suspect the problem is in the function lws_tls_fake_POLLIN_for_buffered, since the system log showed that the situation in lib/core-net/service.c had occurred many times while doesn't under normal situation, I tried to modify the code a little, but the problem still persists.
圖片
圖片

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions