The MUX_ES_NOTIMPL_ERR exit status is added to allow the multiplexers to
report errors about not implemented features. This will be used by the H1
mux to return 501-not-implemented errors.
MUX_ES_SUCCESS, /* Success */
MUX_ES_INVALID_ERR, /* invalid input */
MUX_ES_TOUT_ERR, /* timeout */
+ MUX_ES_NOTIMPL_ERR, /* not-implemented error */
MUX_ES_INTERNAL_ERR, /* internal error */
MUX_ES_UNKNOWN /* unknown status (must be the last) */
};
status = 408;
s_flags = SF_ERR_CLITO | SF_FINST_R;
break;
+ case MUX_ES_NOTIMPL_ERR:
+ status = 501;
+ s_flags = SF_ERR_PRXCOND | SF_FINST_R;
+ break;
case MUX_ES_INTERNAL_ERR:
status = 500;
s_flags = SF_ERR_INTERNAL | SF_FINST_R;