Requesting a nonexistent file generates a Length prefix missing
error on Veracruz-Client
#564
Labels
bug
Something isn't working
trusted-veracruz-runtime
Something related to the trusted Veracruz runtime
Describe the bug
Requesting a nonexistent file generates a
Length prefix missing
error on Veracruz-Client.This is because
read_file_by_absolute_path()
fails inread_file()
, which ultimately results in the RM failing to send TLS data and sending an empty HTTP response.@egrimley-arm 's current work on removing HTTP between VC-Client and RM might have an impact on that.
To Reproduce
Request a file that doesn't exist:
Expected behaviour
The runtime manager should always prefix the messages it sends with the protocol buffer's length.
The text was updated successfully, but these errors were encountered: