vp340 commented on PR #3640:
URL: https://github.com/apache/cxf/pull/3640#issuecomment-6567311557

   Hi @ffang ,
   thanks a lot for resolving this. 
   Just to let U know... I found out why my production isn't burning into 
ash.... (the 0,01% error Too few bytes returned by the publisher (0/241) that I 
told U above... ).
   
   On my local pc I was using the test application.properties... which set 
allowChunking=false... and so 99% of local request to my wiremock failed due to 
this race condition. 
   I was sure that the enviroment values were the same because tests runned as 
always... but in test was allowChunking=false... in prod was allowChunking=true 
(so this particular race condition CXF-9135 doesn't apply). 
   
   So why did the tests run ??
   Tests ran only because someone silently put a cxf-rt-transports-http-hc 
dependency at scope test :( ..just to let them run... without investigate why 
...what a damn coincidence !
   
   So now U ’re probably thinking... why does the "Too few bytes returned by 
the publisher (0/241)" happen in the first place in production... if 
allowChunking=true... ?
   I think we could have a similar problem also in the 
HttpClientHTTPConduit.HttpClientBodyPublisher.
   Pls see https://issues.apache.org/jira/browse/CXF-9267 and 
https://github.com/apache/cxf/pull/3660  for the details. 
   
   See U in the other ticket/Pr.
   
   Cheers,
   Valentino Porta


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to