You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by GitBox <gi...@apache.org> on 2022/10/14 08:00:40 UTC

[GitHub] [lucenenet] nikcio opened a new issue, #653: Infinite loop in HttpClientBase?

nikcio opened a new issue, #653:
URL: https://github.com/apache/lucenenet/issues/653

   I have a reported Issue on SonarCloud that marks a infinite loop: https://sonarcloud.io/project/issues?issues=AYPAuQh1hbfJOGLOob-o&open=AYPAuQh1hbfJOGLOob-o&id=nikcio_lucenenet
   
   From what I can gather I too see this is a infinite loop but I don't know if I'm missing something:
   
   https://github.com/apache/lucenenet/blob/edc85aff62c5bc52d6698ff538ec29d59207f5a6/src/Lucene.Net.Replicator/Http/HttpClientBase.cs#L466
   
   Looking at the code around it I would think it should be this instead:
   
   ```csharp
   public override void Write(byte[] buffer, int offset, int count) => input.Write(buffer, offset, count);
   ``` 


-- 
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: dev-unsubscribe@lucenenet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [lucenenet] NightOwl888 commented on issue #653: Infinite loop in HttpClientBase?

Posted by GitBox <gi...@apache.org>.
NightOwl888 commented on issue #653:
URL: https://github.com/apache/lucenenet/issues/653#issuecomment-1278761441

   Yes, I agree this is the appropriate fix.


-- 
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: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [lucenenet] NightOwl888 closed issue #653: Infinite loop in HttpClientBase?

Posted by GitBox <gi...@apache.org>.
NightOwl888 closed issue #653: Infinite loop in HttpClientBase?
URL: https://github.com/apache/lucenenet/issues/653


-- 
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: dev-unsubscribe@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org