Comments (2)
The buffer doesn't have to be that small:
let f = Faraday.create 0x100;;
Faraday.schedule_string f "hello world";;
Faraday.schedule_string f "hello world";;
Faraday.schedule_string f "hello world";;
Faraday.schedule_string f "hello world";;
Faraday.serialize_to_string f;;
gives the same assertion.
from faraday.
I found at least part of the issue... looks like the buffer resizing has a typo in it. PR incoming.
from faraday.
Related Issues (12)
- How to serialise a user-defined type? HOT 7
- Writing more bytes than the buffer can hold raises Invalid_argument HOT 2
- Eliminate dependency on ocplib-endian
- Double precision floating point values encoded as single precision
- Don't allocate a new buffer on every flush
- dune-project is missing HOT 1
- is_empty HOT 1
- assert failure faraday.ml:377 using Async
- Faraday in Eio (some bugs) HOT 3
- Writing can raise `Failure _`
- The uint48 functions are both broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faraday.