Lines Matching refs:MHD_YES
143 (MHD_YES != iterator (iterator_cls,
173 * #MHD_YES on success
184 sizeof (struct MHD_HTTP_Header), MHD_YES);
202 return MHD_YES;
276 (MHD_YES == connection->read_closed) ? SHUT_WR : SHUT_RDWR);
280 (MHD_YES == connection->client_aware) )
339 return MHD_YES;
341 return MHD_YES; /* 0-byte response is always ready */
346 return MHD_YES; /* response already ready */
352 return MHD_YES;
385 return MHD_YES;
470 return MHD_YES;
489 return MHD_YES;
506 * @return #MHD_YES if (based on the request), a keepalive is
526 return MHD_YES;
530 return MHD_YES;
538 return MHD_YES;
605 * @return #MHD_YES on success, #MHD_NO on failure
626 return MHD_YES;
637 * @return #MHD_YES on success, #MHD_NO on failure (out of memory)
666 data = MHD_pool_allocate (connection->pool, 0, MHD_YES);
671 return MHD_YES;
744 if ( (MHD_YES == keepalive_possible (connection)) &&
752 must_add_chunked_encoding = MHD_YES;
753 connection->have_chunked_upload = MHD_YES;
758 must_add_close = MHD_YES;
762 connection->have_chunked_upload = MHD_YES;
770 must_add_close = MHD_YES;
776 (MHD_YES == connection->read_closed) ) &&
779 must_add_close = MHD_YES;
810 must_add_content_length = MHD_YES;
818 (MHD_YES == keepalive_possible (connection)) )
819 must_add_keep_alive = MHD_YES;
840 (! ( (MHD_YES == must_add_close) &&
894 (MHD_YES == must_add_close) &&
915 return MHD_YES;
942 connection->read_closed = MHD_YES;
1029 if ((MHD_YES != try_grow_read_buffer (connection)) &&
1061 if (MHD_YES == connection->read_closed)
1173 * @return #MHD_NO on failure (out of memory), #MHD_YES for success
1191 return MHD_YES;
1202 * @return #MHD_NO on failure (out of memory), #MHD_YES for success
1282 return MHD_YES;
1289 * @return #MHD_YES for success, #MHD_NO for failure (malformed, out of memory)
1308 return MHD_YES;
1309 cpy = MHD_pool_allocate (connection->pool, strlen (hdr) + 1, MHD_YES);
1379 return MHD_YES;
1388 * @return #MHD_YES if the line is ok, #MHD_NO if it is malformed
1431 return MHD_YES;
1450 connection->client_aware = MHD_YES;
1496 if ( (MHD_YES == connection->have_chunked_upload) &&
1533 instant_retry = MHD_YES;
1578 instant_retry = MHD_YES;
1606 connection->client_aware = MHD_YES;
1633 if (connection->have_chunked_upload == MHD_YES)
1641 while (MHD_YES == instant_retry);
1653 * @return #MHD_YES if something changed,
1680 return MHD_YES;
1686 connection->read_closed = MHD_YES;
1689 return MHD_YES;
1692 return MHD_YES;
1701 * @return #MHD_YES if something changed,
1722 return MHD_YES;
1734 return MHD_YES;
1744 * @return #MHD_NO if we are not done, #MHD_YES if we are
1761 return MHD_YES;
1772 * @return #MHD_YES on success, #MHD_NO on error (malformed @a line)
1800 return MHD_YES;
1812 * @return #MHD_YES if the line was processed successfully
1856 return MHD_YES; /* possibly more than 2 lines... */
1876 return MHD_YES;
1907 connection->read_closed = MHD_YES;
1931 connection->have_chunked_upload = MHD_YES;
1977 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
1986 (MHD_YES != MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) )
1996 * @return always #MHD_YES (we should continue to process the
2004 return MHD_YES;
2011 return MHD_YES;
2031 if (MHD_YES == connection->read_closed)
2039 return MHD_YES;
2050 return MHD_YES;
2059 * @return always #MHD_YES (we should continue to process the
2103 return MHD_YES;
2132 if (MHD_YES != try_ready_normal_body (connection))
2155 return MHD_YES;
2162 return MHD_YES;
2196 return MHD_YES;
2204 return MHD_YES;
2208 return MHD_YES;
2229 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
2239 if (MHD_YES == connection->suspended)
2254 (MHD_YES != MHD_mutex_unlock_(&daemon->cleanup_connection_mutex)) )
2264 * @return #MHD_YES if we should continue to process the
2276 connection->in_idle = MHD_YES;
2293 if (MHD_YES == connection->read_closed)
2312 if (MHD_YES == connection->read_closed)
2340 if (MHD_YES == connection->read_closed)
2381 connection->read_closed = MHD_YES;
2404 (MHD_YES == connection->read_closed)))
2406 if ((MHD_YES == connection->have_chunked_upload) &&
2420 if (MHD_YES == connection->read_closed)
2448 if (MHD_YES == connection->read_closed)
2511 if (MHD_YES == try_ready_normal_body (connection))
2533 if (MHD_YES == try_ready_chunked_body (connection))
2577 (MHD_YES == connection->client_aware) )
2588 if ( (MHD_YES == connection->read_closed) ||
2592 connection->read_closed = MHD_YES;
2595 if (((MHD_YES == connection->read_closed) &&
2648 return MHD_YES;
2694 return MHD_YES;
2705 * @return #MHD_YES if we should continue to process the
2745 return MHD_YES;
2816 * @return #MHD_YES on success, #MHD_NO if setting the option failed
2832 (MHD_YES != MHD_mutex_lock_ (&daemon->cleanup_connection_mutex)) )
2834 if (MHD_YES != connection->suspended)
2848 if (MHD_YES != connection->suspended)
2860 (MHD_YES != MHD_mutex_unlock_ (&daemon->cleanup_connection_mutex)) )
2862 return MHD_YES;
2877 * #MHD_YES on success or if message has been queued
2910 connection->read_closed = MHD_YES;
2915 return MHD_YES;