Giter Club home page Giter Club logo

libcurvecpr-asio's People

Contributors

kostko avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

libcurvecpr-asio's Issues

Session hangs in some cases

CurveCP session seems to hang in some cases, not closing correctly or simply hanging while transferring data. The problem might be related to packet reordering in libcurvecpr (there already were other problems with it), but this has not yet been confirmed.

Sometimes when the issue occurs, there appear to be timeouts that increase the Chicago-derived wr_rate to absurdly high values, sometimes even overflowing the wr_rate counter (this is in libcurvecpr) -- this causes the session to hang as the write rate becomes insanely low.

Question: Why are uint64_t and size_t getting mixed ?

When compiling code using libcurvecpr-asio, I get a number if warnings about conversions from uint64_t and size_t with possible loss of data.
I was wondering why size_t is not used consistently here instead of uint64_t and size_t getting mixed, is there a specific reason for this ?

The 4 warnings are:

2>C:\libs\libcurvecpr-asio\include\curvecp/detail/impl/session.ipp(219): warning C4244: 'initializing' : conversion from 'uint64_t' to 'size_t', possible loss of data
2>C:\libs\libcurvecpr-asio\include\curvecp/detail/impl/session.ipp(294): warning C4244: 'initializing' : conversion from 'uint64_t' to 'int', possible loss of data
2>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\algorithm(4141): warning C4244: 'argument' : conversion from 'uint64_t' to 'const size_t', possible loss of data
2>C:\libs\libcurvecpr-asio\include\curvecp/detail/impl/session.ipp(335): warning C4244: 'initializing' : conversion from 'uint64_t' to 'int', possible loss of data

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.