Re: [apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-06 Thread yc-huang
I see, this is not for optimizing the on wire transfering size, but for optimizing the json decoding cost (e.g. memory comsumption...) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] 启动服务报错 (#403)

2020-08-06 Thread Mingshen Sun
There are two places which may report this error: ``` config .root_store .add_pem_file( DCAP_ROOT_CA_CERT.to_string().as_bytes()) .map_err(|_| AttestationServiceError::TlsError)?; ``` and ``` let mut stream = new_tls_stream(url).map_err(|_|

Re: [apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-06 Thread Mingshen Sun
@yc-huang what did you mean? The `try_from` function will deserialize `FaceDetectionArguments` based on its fields automatically. No need to change this function. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: