Stub Basic_qos

This commit is contained in:
Tony Garnock-Jones 2012-05-10 11:49:16 -04:00
parent 560febdea3
commit 8fbd287e6d
1 changed files with 3 additions and 0 deletions

View File

@ -355,6 +355,9 @@ let handle_method conn channel m =
| false -> send_warning conn not_found (pseudotype^" '"^sink^"' not found"))
| Basic_ack (delivery_tag, multiple) ->
return ()
| Basic_qos (_, _, _) ->
ignore (Log.warn "Ignoring Basic_qos instruction from client" []);
send_method conn channel Basic_qos_ok
| _ ->
let (cid, mid) = method_index m in
die not_implemented (Printf.sprintf "Unsupported method (or method arguments) %s"