Re: Race Condition Issue with KJob and QNetworkAccessManager

2013-03-07 Thread Adrián Chaves Fernández
I did help, and a lot! While you didn’t explain why the newConnection() signal is emitted twice, you gave me a way to avoid counting the same request more than once, which is far better. I can now continue working on the tests. I’ve posted the issue in the Qt Forums[1], to see if someone there h

Re: Race Condition Issue with KJob and QNetworkAccessManager

2013-03-07 Thread Albert Astals Cid
El Dimarts, 5 de març de 2013, a les 21:25:13, Adrián Chaves Fernández va escriure: > O Martes, 5 de Marzo de 2013 11:53:13 Frank Reininghaus escribiu: > > I'm not a network expert, and I don't know what the cause of the > > problem is, but I noticed two things: > > > > 1. I think the access to "

Re: Race Condition Issue with KJob and QNetworkAccessManager

2013-03-05 Thread Adrián Chaves Fernández
O Martes, 5 de Marzo de 2013 11:53:13 Frank Reininghaus escribiu: > I'm not a network expert, and I don't know what the cause of the > problem is, but I noticed two things: > > 1. I think the access to "m_request" in FakeServer::*Request() needs > to be protected by locking m_mutex. Doing that doe

Re: Race Condition Issue with KJob and QNetworkAccessManager

2013-03-05 Thread Frank Reininghaus
Hi Adrián, 2013/3/4 Adrián Chaves Fernández: > Hi, > > There is not much I can add to what I already posted here: > https://forum.kde.org/viewtopic.php?f=64&t=110250 > > Last Saturday I was trying to fix a test in libmediawiki. After several hours > (12, I’m ashamed to admit) the only thing I co

Race Condition Issue with KJob and QNetworkAccessManager

2013-03-04 Thread Adrián Chaves Fernández
Hi, There is not much I can add to what I already posted here: https://forum.kde.org/viewtopic.php?f=64&t=110250 Last Saturday I was trying to fix a test in libmediawiki. After several hours (12, I’m ashamed to admit) the only thing I could come up is with a simple 6-file compilable example to