dialyzer warnings for yaws_dav.erl

View: New views
3 Messages — Rating Filter:   Alert me  

dialyzer warnings for yaws_dav.erl

by Joseph Wayne Norton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I noticed 2 warnings for yaws_dav.erl.  I'm not sure if these warnings are  
expected or not.


yaws_dav.erl:512: Call to missing or unexported function  
yaws_revproxy:store_chunk_num/2
yaws_dav.erl:518: Call to missing or unexported function  
yaws_revproxy:store_chunk/4


[localhost 7] yaws > grep store_chunk */*
src/yaws_dav.erl:                                
store_chunked_client_data(Fd, CliSock, SSL)
src/yaws_dav.erl:store_chunked_client_data(Fd, CliSock, SSL) ->
src/yaws_dav.erl:    N = yaws_revproxy:store_chunk_num(CliSock, SSL),
src/yaws_dav.erl:            B = yaws_revproxy:store_chunk(CliSock, N,  
0,SSL),
src/yaws_dav.erl:            store_chunked_client_data(Fd, CliSock, SSL)

--
norton@...

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Re: dialyzer warnings for yaws_dav.erl

by Claes Wikström :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joseph Wayne Norton wrote:

> I noticed 2 warnings for yaws_dav.erl.  I'm not sure if these warnings are  
> expected or not.
>
>
> yaws_dav.erl:512: Call to missing or unexported function  
> yaws_revproxy:store_chunk_num/2
> yaws_dav.erl:518: Call to missing or unexported function  
> yaws_revproxy:store_chunk/4
>
>
> [localhost 7] yaws > grep store_chunk */*
> src/yaws_dav.erl:                                
> store_chunked_client_data(Fd, CliSock, SSL)
> src/yaws_dav.erl:store_chunked_client_data(Fd, CliSock, SSL) ->
> src/yaws_dav.erl:    N = yaws_revproxy:store_chunk_num(CliSock, SSL),
> src/yaws_dav.erl:            B = yaws_revproxy:store_chunk(CliSock, N,  
> 0,SSL),
> src/yaws_dav.erl:            store_chunked_client_data(Fd, CliSock, SSL)
>


Thanks, this is definitely wrong. Thomas Lindgren has done quite
a lot of work lately on the dav code - maybe it's time to incorporate
his code into the git repo. ? Thomas ?

/klacke

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list

Re: dialyzer warnings for yaws_dav.erl

by Thomas Lindgren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message





----- Original Message ----

> From: Claes Wikström <klacke@...>
>
> Joseph Wayne Norton wrote:
> > I noticed 2 warnings for yaws_dav.erl.  I'm not sure if these warnings are  
> > expected or not.
> >
> >
> > yaws_dav.erl:512: Call to missing or unexported function  
> > yaws_revproxy:store_chunk_num/2
> > yaws_dav.erl:518: Call to missing or unexported function  
> > yaws_revproxy:store_chunk/4
> >
> >
> > [localhost 7] yaws > grep store_chunk */*
> > src/yaws_dav.erl:                                
> > store_chunked_client_data(Fd, CliSock, SSL)
> > src/yaws_dav.erl:store_chunked_client_data(Fd, CliSock, SSL) ->
> > src/yaws_dav.erl:    N = yaws_revproxy:store_chunk_num(CliSock, SSL),
> > src/yaws_dav.erl:            B = yaws_revproxy:store_chunk(CliSock, N,  
> > 0,SSL),
> > src/yaws_dav.erl:            store_chunked_client_data(Fd, CliSock, SSL)
> >
>
>
> Thanks, this is definitely wrong. Thomas Lindgren has done quite
> a lot of work lately on the dav code - maybe it's time to incorporate
> his code into the git repo. ? Thomas ?


I just sent a reply but Yahoo seemed to get confused. If it didn't reach the list, here are the salient points again:

1. Yes, we've made a number of changes to the code handling PUT in particular. I'll push this code to github once it's cleaned up and deployed.
2. However, a previous version can already be found as http://github.com/thomasl/yaws  , in particular src/yaws_upload.erl
3. Also, we will be looking at more DAV operations when this is up and running.

Best,
Thomas



     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@...
https://lists.sourceforge.net/lists/listinfo/erlyaws-list