Allow zc proxy app write data to fifo before UDP transport on accepted
connection.
Type: feature
Change-Id: I93657de68d344f5d2d327dd4e36cc331043fdf98
Signed-off-by: Matus Fabian <[email protected]>
/** Custom fifo allocation for proxy */
int (*proxy_alloc_session_fifos) (session_t *s);
+ /** Allow proxy to write early data */
+ int (*proxy_write_early_data) (session_t *s);
+
/** Collect and export session logs */
int (*app_evt_callback) (session_t *s);
if (app_worker_alloc_session_fifos (sm, s))
return -1;
+ if (application_is_builtin_proxy (app))
+ return app->cb_fns.proxy_write_early_data (s);
+
return 0;
}