Comments (3)
I agree, I think we should change the interface and return a result.
Also we could consider using 2k, and if it fails we double, until we reach 10k which would be a jumbo frame.
It's a bit overkill though, I really doubt anyone would ever go >1500 on an dhcp packet.
I've been wanting to change pkt_of_buf, to stop taking the len, that's pretty stupid, we could then hitchike this change together, since it's a big API breakage.
from charrua.
This is known. I think it should not be addressed, the size should be sufficient for any real option list, since this is something that doesn't come from the network (it comes from us), I believe it's ok.
from charrua.
Let's at least throw a less inscrutable exception if our attempt to write triggers Invalid_argument
?
from charrua.
Related Issues (20)
- The link for the api appears to be unavailable. HOT 1
- Update github about link HOT 1
- readme refers to charrua-mirage repository, which has gone missing HOT 2
- cut a release? HOT 2
- DHCPINFORM handling is too soft. HOT 1
- Allow empty range in server configuration. HOT 4
- Should hosts inherit network settings from the general pool? HOT 3
- Convert to topkg. HOT 1
- `pkt_of_buf` should return Error rather than throwing exceptions HOT 16
- Change subtitle HOT 1
- Remove classic-display. HOT 1
- Take time as an Int32.t in seconds in Dhcp_server.input_pkt. HOT 7
- `buf_of_pkt` allows creation of unreadable packets HOT 6
- Jbuilder generates bad .merlin in lib/ HOT 12
- renaming HOT 8
- Travis doesn't run charrua-core tests. HOT 1
- ping before release! randomise lease ip HOT 1
- please draft a new release for charrua-unix 4.06.0 compatibility
- dhcp does not answer with correct ClientId HOT 3
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 charrua.