Compare commits
No commits in common. "0cfe1ef91bfc9881191db0b994dd0c9eb39f32df" and "2eaaceba707fb2289003282d942a5d2f16c0ad60" have entirely different histories.
0cfe1ef91b
...
2eaaceba70
|
@ -178,7 +178,7 @@ public extension Promise {
|
|||
addHandler { (parentResult) in
|
||||
let newPromise = mapper(parentResult)
|
||||
newPromise.addHandler(next.resolve)
|
||||
newPromise.addCatcher(next.reject)
|
||||
newPromise.addHandler(next.reject)
|
||||
}
|
||||
addCatcher(next.reject)
|
||||
return next
|
||||
|
|
|
@ -238,7 +238,6 @@ def parse_frames(
|
|||
_encryption::size(1),
|
||||
_unsynchronized::size(1),
|
||||
_has_data_length_indicator::size(1),
|
||||
_unused::size(1),
|
||||
rest::binary
|
||||
>>,
|
||||
tag_length_remaining,
|
||||
|
@ -412,7 +411,7 @@ There are also the many, many frames which we have not specifically handled. Eve
|
|||
```elixir
|
||||
def decode_frame(id, frame_size, rest) do
|
||||
cond do
|
||||
Regex.match?(~r/^T[0-9A-Z]+$/, id) ->
|
||||
Regex.match?(~r/^T[0-9A-Z]$/, id) ->
|
||||
decode_text_frame(id, frame_size, rest)
|
||||
|
||||
id in @declared_frame_ids ->
|
||||
|
|
Loading…
Reference in New Issue