Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #471

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### v7.0.1 (2021-12-17)

* Fix cancelation of Unix socket when we don't use `Stack.connect` (@dinosaure, @hannesm, #466)
* Fix cancellation of Unix socket when we don't use `Stack.connect` (@dinosaure, @hannesm, #466)

### v7.0.0 (2021-12-10)

Expand Down Expand Up @@ -42,7 +42,7 @@
### v6.1.0 (2021-03-17)

* checksum stubs: Drop `caml_` from their name (@hannesm, #445)
* Add cancelation on `tcpip.stack-socket` (@dinosaure, @talex5, @hannesm, #443)
* Add cancellation on `tcpip.stack-socket` (@dinosaure, @talex5, @hannesm, #443)
* Ensure that listen really binds the given socket before
creating a task on `tcpip.stack-socket` (@dinosaure, @hannesm, #439)
* Add `ppx_cstruct` as a dependency (@hannesm, @dinosaure, #439)
Expand Down Expand Up @@ -353,7 +353,7 @@ of memory to be used in some circumstances, see
@balrajsingh)
* Improve the tests: more logging, more tracing and compile to native code when
available, etc (@MagnusS and @talex5)
* Do not raise `Invalid_argument("Lwt.wakeup_result")` everytime a connection
* Do not raise `Invalid_argument("Lwt.wakeup_result")` every time a connection
is closed. Also now pass the raised exceptions to `Lwt.async_exception_hook`
instead of ignoring them transparently, so the user can decide to shutdown
its application if something wrong happens (#153, #156, @yomomino and @talex5)
Expand Down Expand Up @@ -426,7 +426,7 @@ of memory to be used in some circumstances, see
### v2.2.0 (2014-12-18)

Add IPv6 support. This changeset minimises interface changes to the existing
`STACKV4` interfaces to faciliate a progressive merge. The only visible
`STACKV4` interfaces to facilitate a progressive merge. The only visible
interface changes are:

* `IPV4.set_ipv4_*` functions have been renamed `IPV4.set_ip_*` because they
Expand Down Expand Up @@ -479,7 +479,7 @@ interface changes are:
### v1.1.6 (2014-07-20)

* Quieten down the stack logging rate by not announcing IPv6 packet discards.
* Raise exception `Bad_option` for unparseable or invalid TCPv4 options (#57).
* Raise exception `Bad_option` for unparsable or invalid TCPv4 options (#57).
* Fix linking error with module `Tcp_checksum` by lifting it into top library
(#60).
* Add `opam` file to permit easier local pinning, and fix Travis to use this.
Expand Down
2 changes: 1 addition & 1 deletion src/ipv4/ipv4_packet.mli
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ module Marshal : sig
val into_cstruct : payload_len:int -> t -> Cstruct.t -> (unit, error) result

(** [make_cstruct ~payload_len t] allocates, fills, and returns a buffer
repesenting the IPV4 header corresponding to [t].
representing the IPV4 header corresponding to [t].
If [t.options] is non-empty, [t.options] will be
concatenated onto the result. A variable amount of memory (at least 20 bytes
for a zero-length options field) will be allocated.
Expand Down
2 changes: 1 addition & 1 deletion src/tcp/segment.ml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ module Tx (Time:Mirage_time.S) (Clock:Mirage_clock.MCLOCK) = struct
let win = Window.ack_win q.wnd in
begin match State.state q.state with
| State.Reset ->
(* Note: This is not stricly necessary, as the PCB will be
(* Note: This is not strictly necessary, as the PCB will be
GCed later on. However, it helps removing pressure on
the GC. *)
reset_seq q.segs;
Expand Down
2 changes: 1 addition & 1 deletion test/test_ipv4.ml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ let suite = [
"other ip flow", `Quick, basic_other_ip_flow ;
"maximum amount of fragments", `Quick, max_fragment ] @
List.mapi (fun i (packets, final) ->
Printf.sprintf "ressembly multiple %d" i, `Quick,
Printf.sprintf "reassembly multiple %d" i, `Quick,
reassembly_multiple_out_of_order packets final)
([
([ (mf, white); (2, black) ], Cstruct.concat [white;black]);
Expand Down
2 changes: 1 addition & 1 deletion test/vnetif_common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct

let create_backend_listener backend listenf =
match (B.register backend) with
| Error _ -> failf "Error occured while registering to backend"
| Error _ -> failf "Error occurred while registering to backend"
| Ok id -> (B.set_listen_fn backend id listenf); id

let disable_backend_listener backend id =
Expand Down