- if ((http_message_type) Z_LVAL_P(value) != msg->type) {
- if (HTTP_MSG_TYPE(REQUEST, msg)) {
- if (msg->info.request.method) {
- efree(msg->info.request.method);
- }
- if (msg->info.request.URI) {
- efree(msg->info.request.URI);
- }
- }
- msg->type = Z_LVAL_P(value);
- if (HTTP_MSG_TYPE(REQUEST, msg)) {
- msg->info.request.method = NULL;
- msg->info.request.URI = NULL;
- }
- }
-