Browse code

core: update the list of header that alloc pkg for parsed structure

Daniel-Constantin Mierla authored on 28/02/2011 13:27:25
Showing 1 changed files
... ...
@@ -228,19 +228,29 @@ static inline int hdr_allocs_parse(struct hdr_field* hdr)
228 228
 		case HDR_VIA_T:
229 229
 		case HDR_TO_T:
230 230
 		case HDR_FROM_T:
231
+		case HDR_CSEQ_T:
231 232
 		case HDR_CONTACT_T:
232 233
 		case HDR_ROUTE_T:
233 234
 		case HDR_RECORDROUTE_T:
234 235
 		case HDR_AUTHORIZATION_T:
235 236
 		case HDR_EXPIRES_T:
236 237
 		case HDR_PROXYAUTH_T:
238
+		case HDR_ALLOW_T:
237 239
 		case HDR_EVENT_T:
238 240
 		case HDR_ACCEPT_T:
239 241
 		case HDR_CONTENTDISPOSITION_T:
240 242
 		case HDR_DIVERSION_T:
243
+		case HDR_DATE_T:
241 244
 		case HDR_RPID_T:
242 245
 		case HDR_REFER_TO_T:
246
+		case HDR_SIPIFMATCH_T:
243 247
 		case HDR_SUBSCRIPTION_STATE_T:
248
+		case HDR_IDENTITY_INFO_T:
249
+		case HDR_IDENTITY_T:
250
+		case HDR_SUPPORTED_T:
251
+		case HDR_SESSIONEXPIRES_T:
252
+		case HDR_PPI_T:
253
+		case HDR_PAI_T:
244 254
 			return 1;
245 255
 		default:
246 256
 			return 0;