MCPcopy Create free account
hub / github.com/apache/httpd / h2_push_diary_append

Function h2_push_diary_append

modules/http2/h2_push.c:639–649  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639static void h2_push_diary_append(h2_push_diary *diary, h2_push_diary_entry *e)
640{
641 while (diary->entries->nelts >= diary->N) {
642 remove_first(diary);
643 }
644 /* append a new diary entry at the end */
645 APR_ARRAY_PUSH(diary->entries, h2_push_diary_entry) = *e;
646 /* Intentional no APLOGNO */
647 ap_log_perror(APLOG_MARK, GCSLOG_LEVEL, 0, diary->entries->pool,
648 "push_diary_append: %"APR_UINT64_T_HEX_FMT, e->hash);
649}
650
651apr_array_header_t *h2_push_diary_update(h2_session *session, apr_array_header_t *pushes)
652{

Callers 1

h2_push_diary_updateFunction · 0.85

Calls 1

remove_firstFunction · 0.85

Tested by

no test coverage detected