Skip to content

PollSet::SocketModeMap poll(const Poco::Timespan& timeout) hasSignaledFDs issue slow down connections #3375

@micheleselea

Description

@micheleselea

I think I read something about that should be changed and reverted to old select, anyway that function has a problem in the actual implementation. When you have a socket that is signaled for readable but not writable, what happen to me is that the poll slow down because that piece of code:

if ((remainingTime > 0) && (rc > 0) && !hasSignaledFDs())
{
	rc = -1;
	WSASetLastError(WSAEINTR);
}

I commented it out for now, but I'm trying to change hasSignaledFDs to do the job, in the meanwhile take care that function make slow down network exchange

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions